Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.h

llvm-svn: 8436
This commit is contained in:
Misha Brukman 2003-09-10 15:09:45 +00:00
parent 66645df54c
commit 8c056e4337
1 changed files with 2 additions and 0 deletions

View File

@ -41,7 +41,9 @@ namespace {
};
}
#ifndef _POSIX_MAPPED_FILES
#define _POSIX_MAPPED_FILES
#endif
#include <unistd.h>
#include <sys/mman.h>