Commit c7cb3e6c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 759d76ae
...@@ -5815,7 +5815,6 @@ for ac_header in \ ...@@ -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 \
......
...@@ -460,7 +460,6 @@ AC_CHECK_HEADERS(\ ...@@ -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 \
......
...@@ -29,9 +29,7 @@ ...@@ -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
......
...@@ -43,9 +43,6 @@ ...@@ -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
......
...@@ -39,9 +39,6 @@ ...@@ -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
......
...@@ -27,9 +27,6 @@ ...@@ -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
......
...@@ -23,9 +23,6 @@ ...@@ -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>
......
...@@ -38,9 +38,7 @@ ...@@ -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
......
...@@ -60,9 +60,7 @@ ...@@ -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"
......
...@@ -60,9 +60,6 @@ ...@@ -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"
......
...@@ -31,9 +31,6 @@ ...@@ -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"
......
...@@ -76,9 +76,6 @@ ...@@ -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
......
...@@ -884,9 +884,6 @@ ...@@ -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
......
...@@ -32,9 +32,6 @@ ...@@ -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
......
...@@ -28,9 +28,6 @@ ...@@ -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>
......
...@@ -30,9 +30,6 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment