浏览代码

Joseph S. Myers writes:

sys/syscall.h uses the IS_IN_libc define before including any header that
includes libc-internal.h (where IS_IN_libc is defined).  This patch makes
sys/syscall.h include features.h to get the IS_IN_libc define where
appropriate.
Eric Andersen 19 年之前
父节点
当前提交
b9f2b0fde6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/sys/syscall.h

+ 1 - 0
include/sys/syscall.h

@@ -20,6 +20,7 @@
 #define _SYSCALL_H	1
 
 /* This file provides us with the nicely useful _syscall[0-5] macros. */
+#include <features.h>
 #if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
 # include <bits/syscalls.h>
 #else