From 94b343fd8d68512d78d8646c646c15a1b3f84186 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Mon, 12 Oct 2009 17:32:44 -0400 Subject: [PATCH] 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 --- configure.ac | 1 - tests/test_looplen.c | 1 + tests/test_mutex.c | 1 + tests/test_perthreadlock.c | 1 + tests/test_perthreadlock_timing.c | 1 + tests/test_qsbr.c | 1 + tests/test_qsbr_gc.c | 1 + tests/test_qsbr_timing.c | 2 ++ tests/test_rwlock.c | 1 + tests/test_rwlock_timing.c | 2 ++ tests/test_urcu.c | 1 + tests/test_urcu_assign.c | 1 + tests/test_urcu_bp.c | 1 + tests/test_urcu_defer.c | 1 + tests/test_urcu_gc.c | 1 + tests/test_urcu_timing.c | 1 + tests/urcutorture.c | 1 + 17 files changed, 18 insertions(+), 1 deletion(-) 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 -- 2.34.1