mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 06:33:49 +00:00
Fix header names.
- <sys/poll.h> should be <poll.h> - <sys/errno.h> should be <errno.h>
This commit is contained in:
parent
acd95c661b
commit
0651aeef24
@ -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>
|
||||||
|
@ -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')
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user