aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/proj.h b/src/proj.h
index 54720664..cf42ccd5 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -113,12 +113,11 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
-#include <stddef.h> /* For size_t */
+#ifndef PROJ_H
+#define PROJ_H
+#include <stddef.h> /* For size_t */
-#ifdef PROJECTS_H
-#error proj.h must be included before projects.h
-#endif
#ifdef PROJ_API_H
#error proj.h must be included before proj_api.h
#endif
@@ -127,8 +126,6 @@
#include "proj_symbol_rename.h"
#endif
-#ifndef PROJ_H
-#define PROJ_H
#ifdef __cplusplus
extern "C" {
#endif