Added check for sys/mman.h.

This commit is contained in:
Steven Edwards 2002-05-16 18:29:11 +00:00 committed by Alexandre Julliard
parent cc030e9a27
commit 0a2d211139
2 changed files with 7 additions and 0 deletions

View File

@ -20,13 +20,18 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "winnt.h"

View File

@ -27,7 +27,9 @@
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include "winnt.h"