Remove the Linux-specific <sys/signalfd.h> header.

This commit is contained in:
Dan Gohman 2019-04-19 17:19:07 -07:00
parent 49f1a57cb8
commit 29d45024c7
3 changed files with 2 additions and 5 deletions

View File

@ -368,7 +368,8 @@ $(SYSROOT_INC):
"$(SYSROOT_INC)/spawn.h" \
"$(SYSROOT_INC)/ucontext.h" \
"$(SYSROOT_INC)/sys/ucontext.h" \
"$(SYSROOT_INC)/sys/membarrier.h"
"$(SYSROOT_INC)/sys/membarrier.h" \
"$(SYSROOT_INC)/sys/signalfd.h"
ifeq ($(THREAD_MODEL), single)
$(RM) "$(SYSROOT_INC)/aio.h" \
"$(SYSROOT_INC)/pthread.h"

View File

@ -149,7 +149,6 @@
#include <sys/resource.h>
#include <sys/select.h>
#include <sys/signal.h>
#include <sys/signalfd.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/stropts.h>

View File

@ -1964,8 +1964,6 @@
#define SEGV_PKUERR 4
#define SEM_FAILED ((sem_t *)0)
#define SERVFAIL ns_r_servfail
#define SFD_CLOEXEC O_CLOEXEC
#define SFD_NONBLOCK O_NONBLOCK
#define SHORTBITS (sizeof(short) * 8)
#define SHRT_MAX 0x7fff
#define SHRT_MIN (-1-0x7fff)
@ -2844,7 +2842,6 @@
#define _SYS_REG_H
#define _SYS_RESOURCE_H
#define _SYS_SELECT_H
#define _SYS_SIGNALFD_H
#define _SYS_SOCKET_H
#define _SYS_STAT_H
#define _SYS_SYSCALL_H