configure: Use errno.h instead of the non-standard sys/errno.h header.

This commit is contained in:
Francois Gouget 2011-12-15 11:16:27 +01:00 committed by Alexandre Julliard
parent 759d76ae23
commit c7cb3e6cb2
16 changed files with 3 additions and 44 deletions

1
configure vendored
View File

@ -5815,7 +5815,6 @@ for ac_header in \
sys/cdio.h \ sys/cdio.h \
sys/elf32.h \ sys/elf32.h \
sys/epoll.h \ sys/epoll.h \
sys/errno.h \
sys/event.h \ sys/event.h \
sys/exec_elf.h \ sys/exec_elf.h \
sys/filio.h \ sys/filio.h \

View File

@ -460,7 +460,6 @@ AC_CHECK_HEADERS(\
sys/cdio.h \ sys/cdio.h \
sys/elf32.h \ sys/elf32.h \
sys/epoll.h \ sys/epoll.h \
sys/errno.h \
sys/event.h \ sys/event.h \
sys/exec_elf.h \ sys/exec_elf.h \
sys/filio.h \ sys/filio.h \

View File

@ -29,9 +29,7 @@
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#ifdef HAVE_SYS_ERRNO_H #include <errno.h>
# include <sys/errno.h>
#endif
#ifdef HAVE_SYS_TIME_H #ifdef HAVE_SYS_TIME_H
# include <sys/time.h> # include <sys/time.h>
#endif #endif

View File

@ -43,9 +43,6 @@
# include <sys/ioctl.h> # include <sys/ioctl.h>
#endif #endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h>
#endif
#ifdef HAVE_LINUX_IOCTL_H #ifdef HAVE_LINUX_IOCTL_H
# include <linux/ioctl.h> # include <linux/ioctl.h>
#endif #endif

View File

@ -39,9 +39,6 @@
# include <sys/ioctl.h> # include <sys/ioctl.h>
#endif #endif
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h>
#endif
#ifdef HAVE_LINUX_INPUT_H #ifdef HAVE_LINUX_INPUT_H
# include <linux/input.h> # include <linux/input.h>
# undef SW_MAX # undef SW_MAX

View File

@ -27,9 +27,6 @@
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#ifdef HAVE_LINUX_MAJOR_H #ifdef HAVE_LINUX_MAJOR_H
# include <linux/major.h> # include <linux/major.h>
#endif #endif

View File

@ -23,9 +23,6 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#include <fcntl.h> #include <fcntl.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>

View File

@ -38,9 +38,7 @@
#ifdef HAVE_SYS_MMAN_H #ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
#ifdef HAVE_SYS_ERRNO_H #include <errno.h>
#include <sys/errno.h>
#endif
#ifdef HAVE_SYS_TIME_H #ifdef HAVE_SYS_TIME_H
#include <sys/time.h> #include <sys/time.h>
#endif #endif

View File

@ -60,9 +60,7 @@
#define JOYDEV_NEW "/dev/input/js%d" #define JOYDEV_NEW "/dev/input/js%d"
#define JOYDEV_OLD "/dev/js%d" #define JOYDEV_OLD "/dev/js%d"
#endif #endif
#ifdef HAVE_SYS_ERRNO_H #include <errno.h>
#include <sys/errno.h>
#endif
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"

View File

@ -60,9 +60,6 @@
#ifdef HAVE_SYS_POLL_H #ifdef HAVE_SYS_POLL_H
#include <sys/poll.h> #include <sys/poll.h>
#endif #endif
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#include <sys/soundcard.h> #include <sys/soundcard.h>
#include "windef.h" #include "windef.h"

View File

@ -31,9 +31,6 @@
#ifdef HAVE_SYS_IOCTL_H #ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h> # include <sys/ioctl.h>
#endif #endif
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#include <sys/soundcard.h> #include <sys/soundcard.h>
#include "windef.h" #include "windef.h"

View File

@ -76,9 +76,6 @@
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#ifdef HAVE_NETDB_H #ifdef HAVE_NETDB_H
#include <netdb.h> #include <netdb.h>
#endif #endif

View File

@ -884,9 +884,6 @@
/* Define to 1 if you have the <sys/epoll.h> header file. */ /* Define to 1 if you have the <sys/epoll.h> header file. */
#undef HAVE_SYS_EPOLL_H #undef HAVE_SYS_EPOLL_H
/* Define to 1 if you have the <sys/errno.h> header file. */
#undef HAVE_SYS_ERRNO_H
/* Define to 1 if you have the <sys/event.h> header file. */ /* Define to 1 if you have the <sys/event.h> header file. */
#undef HAVE_SYS_EVENT_H #undef HAVE_SYS_EVENT_H

View File

@ -32,9 +32,6 @@
#include <limits.h> #include <limits.h>
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS

View File

@ -28,9 +28,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -30,9 +30,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h>
#endif
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H