diff --git a/desmume/src/libretro-common/file/file_path.c b/desmume/src/libretro-common/file/file_path.c index f6d043d05..8836538b7 100644 --- a/desmume/src/libretro-common/file/file_path.c +++ b/desmume/src/libretro-common/file/file_path.c @@ -20,8 +20,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#define _XOPEN_SOURCE 500 /* For strdup, realpath */ - #include #include #include @@ -33,6 +31,7 @@ #include #ifndef __MACH__ +#define _XOPEN_SOURCE 500 /* For strdup, realpath */ #include #include #endif