Fixes to allow building on Power
[urcu.git] / tests / test_qsbr_gc.c
index 004672db12a16ff777a38cb789821e852f7a15ce..12430d0d30d6f33f010a533a4ceceb3a04ae6937 100644 (file)
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
-#include "../arch.h"
-
-/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */
-#define CACHE_LINE_SIZE 4096
+#include <urcu/arch.h>
 
 /* hardcoded number of CPUs */
 #define NR_CPUS 16384
@@ -57,7 +55,7 @@ static inline pid_t gettid(void)
 #endif
 
 #define _LGPL_SOURCE
-#include "../urcu-qsbr.h"
+#include <urcu-qsbr.h>
 
 struct test_array {
        int a;
This page took 0.045576 seconds and 4 git commands to generate.