Fix header names.

- <sys/poll.h> should be <poll.h>
- <sys/errno.h> should be <errno.h>
This commit is contained in:
Érico Rolim 2020-10-09 21:31:07 -03:00 committed by Richard Hughes
parent acd95c661b
commit 0651aeef24
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
#ifdef HAVE_ERRNO_H #ifdef HAVE_ERRNO_H
#include <sys/errno.h> #include <errno.h>
#endif #endif
#ifdef HAVE_IOCTL_H #ifdef HAVE_IOCTL_H
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -254,7 +254,7 @@ endif
if cc.has_header('sys/ioctl.h') if cc.has_header('sys/ioctl.h')
conf.set('HAVE_IOCTL_H', '1') conf.set('HAVE_IOCTL_H', '1')
endif endif
if cc.has_header('sys/errno.h') if cc.has_header('errno.h')
conf.set('HAVE_ERRNO_H', '1') conf.set('HAVE_ERRNO_H', '1')
endif endif
if cc.has_header('sys/socket.h') if cc.has_header('sys/socket.h')

View File

@ -22,7 +22,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/poll.h> #include <poll.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <glib.h> #include <glib.h>