From e3035a7e6e56e01eb79478ea5342e032ec67a190 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 8 May 2008 12:16:15 -0700 Subject: [PATCH] Apple: Define _DARWIN_C_SOURCE otherwise _XOPEN_SOURCE, _POSIX_SOURCE, or _POSIX_C_SOURCE will cause fd_mask to not be defined due to the strict namespace --- Xosdefs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Xosdefs.h b/Xosdefs.h index 903a5a0..a0b2e3e 100644 --- a/Xosdefs.h +++ b/Xosdefs.h @@ -135,6 +135,7 @@ in this Software without prior written authorization from The Open Group. #ifdef __APPLE__ #define NULL_NOT_ZERO +#define _DARWIN_C_SOURCE #endif #ifdef __GNU__