From 29d45024c71571d50ec2f98bbe57df9efe57eb65 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 19 Apr 2019 17:19:07 -0700 Subject: [PATCH] Remove the Linux-specific header. --- Makefile | 3 ++- expected/wasm32-wasi/include-all.c | 1 - expected/wasm32-wasi/predefined-macros.txt | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9acbc60..f678779 100644 --- a/Makefile +++ b/Makefile @@ -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" diff --git a/expected/wasm32-wasi/include-all.c b/expected/wasm32-wasi/include-all.c index 9954126..714d03d 100644 --- a/expected/wasm32-wasi/include-all.c +++ b/expected/wasm32-wasi/include-all.c @@ -149,7 +149,6 @@ #include #include #include -#include #include #include #include diff --git a/expected/wasm32-wasi/predefined-macros.txt b/expected/wasm32-wasi/predefined-macros.txt index a5f3a6b..3500ce1 100644 --- a/expected/wasm32-wasi/predefined-macros.txt +++ b/expected/wasm32-wasi/predefined-macros.txt @@ -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