瀏覽代碼

prevent some needless warnings when building w/2.6.x kernel headers

Eric Andersen 20 年之前
父節點
當前提交
a156c18dd5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/features.h

+ 3 - 0
include/features.h

@@ -433,6 +433,9 @@ uClibc was built without large file support enabled.
 #ifndef unlikely
 # define unlikely(x)	__builtin_expect((!!(x)),0)
 #endif
+#ifndef __LINUX_COMPILER_H
+#define __LINUX_COMPILER_H
+#endif
 
 /* --- this is added to integrate linuxthreads */
 #define __USE_UNIX98            1