changes to support alternative header locations

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34290 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-12-15 09:42:39 +00:00
parent 016c110ec8
commit 32fc733268
25 changed files with 19211 additions and 4285 deletions

View file

@ -89,7 +89,13 @@
#ifdef HAVE_MMAP
#include <sys/mman.h>
#include <fcntl.h>
#if defined(HAVE_SYS_FCNTL_H)
# include <sys/fcntl.h>
#elif defined(HAVE_FCNTL_H)
# include <fcntl.h>
#endif
#ifndef MAP_FAILED
#define MAP_FAILED ((void*)-1) /* Failure address. */
#endif