diff options
Diffstat (limited to 'geography/viking/patches/patch-src_gpx.c')
-rw-r--r-- | geography/viking/patches/patch-src_gpx.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/geography/viking/patches/patch-src_gpx.c b/geography/viking/patches/patch-src_gpx.c new file mode 100644 index 00000000000..595c73405a3 --- /dev/null +++ b/geography/viking/patches/patch-src_gpx.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_gpx.c,v 1.1 2015/12/13 20:37:31 wiedi Exp $ + +Fix SunOS +--- src/gpx.c.orig 2015-02-03 22:44:42.000000000 +0000 ++++ src/gpx.c +@@ -30,7 +30,11 @@ + #include "config.h" + #endif + ++#if defined(__sun) ++#define _XOPEN_SOURCE 600 ++#else + #define _XOPEN_SOURCE /* glibc2 needs this */ ++#endif + + #include "gpx.h" + #include "viking.h" |