From 667bc336fecd380c734c313664134943776ab11f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 13 Mar 2019 17:05:06 +0100 Subject: [PATCH] configure: Hardcode some headers for Windows platforms. Signed-off-by: Alexandre Julliard --- configure | 3 --- configure.ac | 3 --- include/config.h.in | 9 --------- include/wine/port.h | 21 ++++++++++++--------- 4 files changed, 12 insertions(+), 24 deletions(-) diff --git a/configure b/configure index 1818eac8c09..611dd446b33 100755 --- a/configure +++ b/configure @@ -7296,7 +7296,6 @@ for ac_header in \ asm/types.h \ asm/user.h \ curses.h \ - direct.h \ dirent.h \ dlfcn.h \ elf.h \ @@ -7309,7 +7308,6 @@ for ac_header in \ gsm/gsm.h \ ieeefp.h \ inet/mib2.h \ - io.h \ kstat.h \ libproc.h \ link.h \ @@ -7344,7 +7342,6 @@ for ac_header in \ pcap/pcap.h \ poll.h \ port.h \ - process.h \ pthread.h \ pwd.h \ sched.h \ diff --git a/configure.ac b/configure.ac index 7aa4fb8ab1e..9ab6cfcfb5b 100644 --- a/configure.ac +++ b/configure.ac @@ -433,7 +433,6 @@ AC_CHECK_HEADERS(\ asm/types.h \ asm/user.h \ curses.h \ - direct.h \ dirent.h \ dlfcn.h \ elf.h \ @@ -446,7 +445,6 @@ AC_CHECK_HEADERS(\ gsm/gsm.h \ ieeefp.h \ inet/mib2.h \ - io.h \ kstat.h \ libproc.h \ link.h \ @@ -481,7 +479,6 @@ AC_CHECK_HEADERS(\ pcap/pcap.h \ poll.h \ port.h \ - process.h \ pthread.h \ pwd.h \ sched.h \ diff --git a/include/config.h.in b/include/config.h.in index 5efa27e20e3..0ff9410a4d0 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -110,9 +110,6 @@ /* Define if you have the daylight variable */ #undef HAVE_DAYLIGHT -/* Define to 1 if you have the header file. */ -#undef HAVE_DIRECT_H - /* Define to 1 if you have the header file. */ #undef HAVE_DIRENT_H @@ -333,9 +330,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_IOKIT_IOKITLIB_H -/* Define to 1 if you have the header file. */ -#undef HAVE_IO_H - /* Define to 1 if you have the `isfinite' function. */ #undef HAVE_ISFINITE @@ -765,9 +759,6 @@ /* Define to 1 if you have the `pread' function. */ #undef HAVE_PREAD -/* Define to 1 if you have the header file. */ -#undef HAVE_PROCESS_H - /* Define to 1 if you have the `proc_pidinfo' function. */ #undef HAVE_PROC_PIDINFO diff --git a/include/wine/port.h b/include/wine/port.h index e32818e5455..7b56013c590 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -36,15 +36,6 @@ #include #include #include -#ifdef HAVE_DIRECT_H -# include -#endif -#ifdef HAVE_IO_H -# include -#endif -#ifdef HAVE_PROCESS_H -# include -#endif #include #include #ifdef HAVE_UNISTD_H @@ -52,6 +43,18 @@ #endif +/**************************************************************** + * Hard-coded values for the Windows platform + */ + +#ifdef _WIN32 + +#include +#include +#include + +#endif /* _WIN32 */ + /**************************************************************** * Type definitions */