From: Paul E. McKenney Date: Mon, 12 Oct 2009 21:32:44 +0000 (-0400) Subject: Fixes to allow building on Power X-Git-Tag: v0.2.3~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=94b343fd8d68512d78d8646c646c15a1b3f84186;p=userspace-rcu.git Fixes to allow building on Power Add errno.h to a number of files, and remove build dependency on m4. Signed-off-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index ca711ad..fed15ee 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,6 @@ AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) AC_CONFIG_SRCDIR([urcu.h]) AM_PROG_MKDIR_P -AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h urcu/config.h]) diff --git a/tests/test_looplen.c b/tests/test_looplen.c index 9e2ee2b..634cf97 100644 --- a/tests/test_looplen.c +++ b/tests/test_looplen.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_mutex.c b/tests/test_mutex.c index f2ef706..89fe4b1 100644 --- a/tests/test_mutex.c +++ b/tests/test_mutex.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_perthreadlock.c b/tests/test_perthreadlock.c index 8e0800f..1b9445f 100644 --- a/tests/test_perthreadlock.c +++ b/tests/test_perthreadlock.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_perthreadlock_timing.c b/tests/test_perthreadlock_timing.c index 9761f5d..5f6ed76 100644 --- a/tests/test_perthreadlock_timing.c +++ b/tests/test_perthreadlock_timing.c @@ -31,6 +31,7 @@ #include #include #include +#include #include diff --git a/tests/test_qsbr.c b/tests/test_qsbr.c index d6c4d1a..5284a48 100644 --- a/tests/test_qsbr.c +++ b/tests/test_qsbr.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_qsbr_gc.c b/tests/test_qsbr_gc.c index 9766067..12430d0 100644 --- a/tests/test_qsbr_gc.c +++ b/tests/test_qsbr_gc.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_qsbr_timing.c b/tests/test_qsbr_timing.c index 969b802..b9cfd79 100644 --- a/tests/test_qsbr_timing.c +++ b/tests/test_qsbr_timing.c @@ -30,6 +30,8 @@ #include #include #include +#include + #include #if defined(_syscall0) diff --git a/tests/test_rwlock.c b/tests/test_rwlock.c index 923ecad..837b800 100644 --- a/tests/test_rwlock.c +++ b/tests/test_rwlock.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_rwlock_timing.c b/tests/test_rwlock_timing.c index c5c9478..869017e 100644 --- a/tests/test_rwlock_timing.c +++ b/tests/test_rwlock_timing.c @@ -31,6 +31,8 @@ #include #include #include +#include + #include #if defined(_syscall0) diff --git a/tests/test_urcu.c b/tests/test_urcu.c index 4289216..2f8cd16 100644 --- a/tests/test_urcu.c +++ b/tests/test_urcu.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_urcu_assign.c b/tests/test_urcu_assign.c index 1b8f618..83b8f2c 100644 --- a/tests/test_urcu_assign.c +++ b/tests/test_urcu_assign.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_urcu_bp.c b/tests/test_urcu_bp.c index fca7ac5..baf23dc 100644 --- a/tests/test_urcu_bp.c +++ b/tests/test_urcu_bp.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_urcu_defer.c b/tests/test_urcu_defer.c index 08e3e60..309c3b2 100644 --- a/tests/test_urcu_defer.c +++ b/tests/test_urcu_defer.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_urcu_gc.c b/tests/test_urcu_gc.c index 162fae0..6d4cde3 100644 --- a/tests/test_urcu_gc.c +++ b/tests/test_urcu_gc.c @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/tests/test_urcu_timing.c b/tests/test_urcu_timing.c index 79cd838..2bccb33 100644 --- a/tests/test_urcu_timing.c +++ b/tests/test_urcu_timing.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #if defined(_syscall0) diff --git a/tests/urcutorture.c b/tests/urcutorture.c index 929d171..241d237 100644 --- a/tests/urcutorture.c +++ b/tests/urcutorture.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include "api.h" #define _LGPL_SOURCE