Futex: turn "int" into "int32_t" for portability
[urcu.git] / urcu / static / urcu.h
index 3161a40088836c92a65edbdc8445385913afe0bb..777fa4c593b17ee2625c23c143e6ee668e8f9e40 100644 (file)
@@ -33,6 +33,7 @@
 #include <pthread.h>
 #include <syscall.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include <urcu/compiler.h>
 #include <urcu/arch.h>
@@ -228,7 +229,7 @@ struct rcu_reader {
 
 extern struct rcu_reader __thread rcu_reader;
 
-extern int gp_futex;
+extern int32_t gp_futex;
 
 /*
  * Wake-up waiting synchronize_rcu(). Called from many concurrent threads.
This page took 0.022475 seconds and 4 git commands to generate.