mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
016c110ec8
commit
32fc733268
25 changed files with 19211 additions and 4285 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue