projects/aports·blob master · refs

33 lines · 619 B

1Author: Holger Jaekel <[email protected]>
2Summary: Fixes compilation with musl libc, define PATH_MAX
3----
4
5--- a/src/mapflatgeobuf.c
6+++ b/src/mapflatgeobuf.c
7@@ -29,9 +29,9 @@
8
9 #define NEED_IGNORE_RET_VAL
10
11+#include "mapserver.h"
12 #include <limits.h>
13 #include <assert.h>
14-#include "mapserver.h"
15 #include "mapows.h"
16
17 #include "flatgeobuf/flatgeobuf_c.h"
18
19
20--- a/src/mapshape.c
21+++ b/src/mapshape.c
22@@ -36,10 +36,10 @@
23
24 #define NEED_IGNORE_RET_VAL
25
26+#include "mapserver.h"
27 #include <limits.h>
28 #include <assert.h>
29 #include <stdbool.h>
30-#include "mapserver.h"
31 #include "mapows.h"
32
33 #include <cpl_conv.h>