X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=2339bc63c872c6a4826d7a52e8d064d85130c0df;hp=d356f54648d551b44316d8d11cbeb09cf7c9b84d;hb=3eca1b8cce5630bcbd865a8d30855c996bc021c3;hpb=0376e7b2f8d26778ebc4750b34e718c062c92764 diff --git a/urcu.c b/urcu.c index d356f54..2339bc6 100644 --- a/urcu.c +++ b/urcu.c @@ -24,18 +24,20 @@ */ #define _BSD_SOURCE +#define _GNU_SOURCE #include #include #include #include #include +#include #include #include #include -#include "urcu-map.h" +#include "urcu/map/urcu.h" -#include "urcu-static.h" +#include "urcu/static/urcu.h" /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ #include "urcu.h" @@ -61,7 +63,7 @@ void __attribute__((destructor)) rcu_exit(void); static pthread_mutex_t rcu_gp_lock = PTHREAD_MUTEX_INITIALIZER; -int gp_futex; +int32_t gp_futex; /* * Global grace period counter.