Limit definition of XOPEN_SOURCE to Linux, where it's needed.
[geeqie.git] / src / exif-common.cc
index ef80a6d..1fcfb6a 100644 (file)
@@ -19,7 +19,9 @@
 
 #include <config.h>
 
+#ifdef __linux__
 #define _XOPEN_SOURCE
+#endif
 
 #include <cmath>
 #include <cstdlib>