aboutsummaryrefslogtreecommitdiff
path: root/src/proj_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proj_api.h')
-rw-r--r--src/proj_api.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index 5bba5887..36187441 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -25,16 +25,16 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
- /*
+/*
* This version number should be updated with every release!
*
* This file is expected to be removed from the PROJ distribution
* when a few minor-version releases has been made.
*
*/
- #ifndef PJ_VERSION
- #define PJ_VERSION 500
- #endif
+#ifndef PJ_VERSION
+#define PJ_VERSION 500
+#endif
/* If we're not asked for PJ_VERSION only, give them everything */
@@ -43,16 +43,17 @@
#ifndef PROJ_API_H
#define PROJ_API_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
/* standard inclusions */
#include <math.h>
+#include <stddef.h>
#include <stdlib.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* pj_init() and similar functions can be used with a non-C locale */
/* Can be detected too at runtime if the symbol pj_atof exists */
#define PJ_LOCALE_SAFE 1