瀏覽代碼

- workaround for type declaration conflicts between linux-libc-dev and libc
headers on x86_64 debian (in one place declared as long int and in another as
long long)

Andrei Pelinescu-Onciul 17 年之前
父節點
當前提交
b0585b3113
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      futexlock.h

+ 4 - 0
futexlock.h

@@ -45,6 +45,10 @@
 
 #ifdef HAVE_ASM_INLINE_ATOMIC_OPS
 #define HAVE_FUTEX
+#include <sys/types.h> /* hack to workaround some type conflicts 
+                          between linux-libc-dev andlibc headers
+                          in recent (6.08.2008) x86_64 debian sid
+                          installations */
 #include <linux/futex.h>
 #include <sys/syscall.h>
 #include <unistd.h>