mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
15 lines
443 B
Diff
15 lines
443 B
Diff
|
Index: trunk/gdal/apps/gdalserver.c
|
||
|
===================================================================
|
||
|
--- a/trunk/gdal/apps/gdalserver.c
|
||
|
+++ b/trunk/gdal/apps/gdalserver.c
|
||
|
@@ -28,7 +28,6 @@
|
||
|
****************************************************************************/
|
||
|
|
||
|
-#if defined(__STDC_VERSION__)
|
||
|
-#define _XOPEN_SOURCE
|
||
|
-#endif
|
||
|
+// So that __USE_XOPEN2K is defined to have getaddrinfo
|
||
|
+#define _XOPEN_SOURCE 600
|
||
|
|
||
|
#include "cpl_port.h"
|