diff options
Diffstat (limited to 'otherlibs/str/regex-0.12/regex.c')
-rw-r--r-- | otherlibs/str/regex-0.12/regex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/str/regex-0.12/regex.c b/otherlibs/str/regex-0.12/regex.c index 8169880d7..3f4ff815f 100644 --- a/otherlibs/str/regex-0.12/regex.c +++ b/otherlibs/str/regex-0.12/regex.c @@ -27,7 +27,11 @@ #define _GNU_SOURCE /* We need this for `regex.h', and perhaps for the Emacs include files. */ +#if !macintosh #include <sys/types.h> +#else +#include <SizeTDef.h> +#endif #ifdef HAVE_CONFIG_H #include "config.h" |