diff --git a/src/map/mapper/mapperLib.c b/src/map/mapper/mapperLib.c index 662d1b386..333844355 100644 --- a/src/map/mapper/mapperLib.c +++ b/src/map/mapper/mapperLib.c @@ -18,7 +18,9 @@ //#define _BSD_SOURCE #ifndef WIN32 +#ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE +#endif #include #endif diff --git a/src/map/mio/mio.c b/src/map/mio/mio.c index d487e8677..9ca6767db 100644 --- a/src/map/mio/mio.c +++ b/src/map/mio/mio.c @@ -19,7 +19,9 @@ //#define _BSD_SOURCE #ifndef WIN32 +#ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE +#endif #include #endif