mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 21:50:25 +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 <string.h>
|
||||
#ifdef HAVE_ERRNO_H
|
||||
#include <sys/errno.h>
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#ifdef HAVE_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -254,7 +254,7 @@ endif
|
||||
if cc.has_header('sys/ioctl.h')
|
||||
conf.set('HAVE_IOCTL_H', '1')
|
||||
endif
|
||||
if cc.has_header('sys/errno.h')
|
||||
if cc.has_header('errno.h')
|
||||
conf.set('HAVE_ERRNO_H', '1')
|
||||
endif
|
||||
if cc.has_header('sys/socket.h')
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <sys/poll.h>
|
||||
#include <poll.h>
|
||||
#include <sys/wait.h>
|
||||
#include <glib.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user