Explorar o código

- 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 %!s(int64=17) %!d(string=hai) anos
pai
achega
b0585b3113
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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>