fix OS X build

This commit is contained in:
Joel Dice
2010-11-07 21:23:25 -07:00
parent 580e7e1b3f
commit 8ca5e9780e
2 changed files with 12 additions and 5 deletions

View File

@ -8,14 +8,14 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#define __STDC_CONSTANT_MACROS
#ifdef __APPLE__
# include "CoreFoundation/CoreFoundation.h"
# undef assert
# define _XOPEN_SOURCE
#endif
#define __STDC_CONSTANT_MACROS
#include "sys/mman.h"
#include "sys/types.h"
#include "sys/stat.h"