fix: explicitly include urcu/config.h in files using CONFIG_RCU_ defines
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 17 Nov 2020 20:22:24 +0000 (15:22 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 17 Nov 2020 20:32:55 +0000 (15:32 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/debug.h
include/urcu/uatomic/x86.h
include/urcu/urcu-qsbr.h
src/urcu-bp.c
src/urcu-utils.h
src/urcu.c

index 14b50b6a1d539dd67e978ce929c8758a06ca7744..4a7eac9aa70dd72d3be1b5d9036b7700847eeaf8 100644 (file)
@@ -21,6 +21,8 @@
 
 #include <assert.h>
 
+#include <urcu/config.h>
+
 #if defined(DEBUG_RCU) || defined(CONFIG_RCU_DEBUG)
 #define urcu_assert(...)       assert(__VA_ARGS__)
 #else
index 129a2f5670385880870912235a14a63a6d0ea99e..2a4ea1c032a6019f0257ca967200e28fee27edaa 100644 (file)
@@ -20,6 +20,7 @@
  * Boehm-Demers-Weiser conservative garbage collector.
  */
 
+#include <urcu/config.h>
 #include <urcu/compiler.h>
 #include <urcu/system.h>
 
index 28e60655d47d8a8300aace24b8c1b54ba911ff7f..fd6cbda31bef58441344dd23d45a5f28b377dc28 100644 (file)
@@ -31,6 +31,8 @@
 #include <stdlib.h>
 #include <pthread.h>
 
+#include <urcu/config.h>
+
 /*
  * See urcu/pointer.h and urcu/static/pointer.h for pointer
  * publication headers.
index 05efd97eb67a2c05c99a09dfb5c6e29e888ff81e..c2ac792c219f825936e1e3676907e8b8cf9ea01a 100644 (file)
@@ -37,6 +37,7 @@
 #include <stdbool.h>
 #include <sys/mman.h>
 
+#include <urcu/config.h>
 #include <urcu/arch.h>
 #include <urcu/wfcqueue.h>
 #include <urcu/map/urcu-bp.h>
index 407f42e07e6fd078d247e707a3058f3aa6cb9dff..69e37bd3dcbabbaf5cd07348fbf387e4a68f9858 100644 (file)
@@ -23,6 +23,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <urcu/config.h>
+
 #define urcu_stringify(a) _urcu_stringify(a)
 #define _urcu_stringify(a) #a
 
index f6ca5f829db62b92d56a0c0ae184b1908b0539a5..2ebe993e33b5fdd3a540f3b15d7b92b450106766 100644 (file)
@@ -38,6 +38,7 @@
 #include <stdbool.h>
 #include <poll.h>
 
+#include <urcu/config.h>
 #include <urcu/arch.h>
 #include <urcu/wfcqueue.h>
 #include <urcu/map/urcu.h>
This page took 0.03735 seconds and 4 git commands to generate.