]> git.proxmox.com Git - wasi-libc.git/commitdiff
Don't install <sys/xattr.h>, which isn't supported on WASI.
authorDan Gohman <sunfish@mozilla.com>
Tue, 14 May 2019 15:58:02 +0000 (08:58 -0700)
committerDan Gohman <sunfish@mozilla.com>
Wed, 15 May 2019 19:01:17 +0000 (12:01 -0700)
Makefile
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt

index bc20ed004c4f8abf19919fffc96606e370eb0453..c6170ca88e3dffd6986300b2838e408c2b7a9da7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -384,7 +384,7 @@ include_dirs:
              "$(SYSROOT_INC)/pty.h" \
              "$(SYSROOT_INC)/dlfcn.h" \
              "$(SYSROOT_INC)/ulimit.h" \
-             "$(SYSROOT_INC)/xattr.h" \
+             "$(SYSROOT_INC)/sys/xattr.h" \
              "$(SYSROOT_INC)/wordexp.h" \
              "$(SYSROOT_INC)/spawn.h" \
              "$(SYSROOT_INC)/ucontext.h" \
index 2ded5dd21eb4d0307290bd936f31617d32d0a6d9..3ca064168845d0e06147f0ff9a9612bef48e5f29 100644 (file)
 #include <sys/sysmacros.h>
 #include <sys/time.h>
 #include <sys/timeb.h>
-#include <sys/timerfd.h>
 #include <sys/times.h>
 #include <sys/timex.h>
 #include <sys/ttydefaults.h>
 #include <sys/uio.h>
 #include <sys/un.h>
 #include <sys/utsname.h>
-#include <sys/xattr.h>
 #include <syscall.h>
 #include <sysexits.h>
 #include <tar.h>
index 8de7a371bbca14f1a3b7b25e3d2456e7520126b0..0198f97ad7df64483560f9a4b3144ee9d925b2f5 100644 (file)
 #define TELQUAL_NAME 3
 #define TELQUAL_REPLY 2
 #define TELQUAL_SEND 1
-#define TFD_CLOEXEC O_CLOEXEC
-#define TFD_NONBLOCK O_NONBLOCK
-#define TFD_TIMER_ABSTIME 1
-#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
 #define TGEXEC 00010
 #define TGREAD 00040
 #define TGWRITE 00020
 #define _SYS_SYSINFO_H 
 #define _SYS_SYSMACROS_H 
 #define _SYS_TIMEB_H 
-#define _SYS_TIMERFD_H 
 #define _SYS_TIMES_H 
 #define _SYS_TIMEX_H 
 #define _SYS_TIME_H 
 #define _SYS_UIO_H 
 #define _SYS_UN_H 
 #define _SYS_UTSNAME_H 
-#define _SYS_XATTR_H 
 #define _TAR_H 
 #define _TGMATH_H 
 #define _THREADS_H 
 #define __UAPI_DEF_IP_MREQ 0
 #define __UAPI_DEF_SOCKADDR_IN 0
 #define __UAPI_DEF_SOCKADDR_IN6 0
-#define __UAPI_DEF_XATTR 0
 #define __UINT16_C_SUFFIX__ 
 #define __UINT16_FMTX__ "hX"
 #define __UINT16_FMTo__ "ho"