Mingw porting fix.

This commit is contained in:
Steven Edwards 2002-10-31 03:41:56 +00:00 committed by Alexandre Julliard
parent c1c346ae0d
commit 45e56818f7
4 changed files with 16 additions and 0 deletions

4
configure vendored
View File

@ -11642,6 +11642,8 @@ done
@ -11702,6 +11704,8 @@ for ac_header in \
sys/sysctl.h \ sys/sysctl.h \
sys/time.h \ sys/time.h \
sys/times.h \ sys/times.h \
sys/uio.h \
sys/un.h \
sys/user.h \ sys/user.h \
sys/v86.h \ sys/v86.h \
sys/v86intr.h \ sys/v86intr.h \

View File

@ -1017,6 +1017,8 @@ AC_CHECK_HEADERS(\
sys/sysctl.h \ sys/sysctl.h \
sys/time.h \ sys/time.h \
sys/times.h \ sys/times.h \
sys/uio.h \
sys/un.h \
sys/user.h \ sys/user.h \
sys/v86.h \ sys/v86.h \
sys/v86intr.h \ sys/v86intr.h \

View File

@ -548,6 +548,12 @@
/* Define to 1 if you have the <sys/types.h> header file. */ /* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H #undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/uio.h> header file. */
#undef HAVE_SYS_UIO_H
/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H
/* Define to 1 if you have the <sys/user.h> header file. */ /* Define to 1 if you have the <sys/user.h> header file. */
#undef HAVE_SYS_USER_H #undef HAVE_SYS_USER_H

View File

@ -35,12 +35,16 @@
#ifdef HAVE_SYS_WAIT_H #ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h> #include <sys/wait.h>
#endif #endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h> #include <sys/un.h>
#endif
#ifdef HAVE_SYS_MMAN_H #ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
#include <sys/stat.h> #include <sys/stat.h>
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h> #include <sys/uio.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif