Fixes to allow building on Power
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 12 Oct 2009 21:32:44 +0000 (17:32 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 12 Oct 2009 21:32:44 +0000 (17:32 -0400)
Add errno.h to a number of files, and remove build dependency on m4.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
17 files changed:
configure.ac
tests/test_looplen.c
tests/test_mutex.c
tests/test_perthreadlock.c
tests/test_perthreadlock_timing.c
tests/test_qsbr.c
tests/test_qsbr_gc.c
tests/test_qsbr_timing.c
tests/test_rwlock.c
tests/test_rwlock_timing.c
tests/test_urcu.c
tests/test_urcu_assign.c
tests/test_urcu_bp.c
tests/test_urcu_defer.c
tests/test_urcu_gc.c
tests/test_urcu_timing.c
tests/urcutorture.c

index ca711ad79be36c87c03fc1281084cc214b0338a7..fed15ee8d624a970125809cb239ebbcc99bf4e3f 100644 (file)
@@ -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])
 
index 9e2ee2be780653badab3127f9f42bc07a58cb312..634cf976688e48b6b970ddd770d4a951af32ff41 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index f2ef706405d159116cac5bead121ea37d3a44bd5..89fe4b158ca434e5718dd406257d3ae4b3b8397a 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 8e0800f4b1a48408ae09e54dc0efecdafee88a53..1b9445fc1459b1e8f668bf242f7991fdddb39e69 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 9761f5d9204c9eb0d60f641e1e1a52e7753588f4..5f6ed763d761fa2497a94509127118eeff4fe2a6 100644 (file)
@@ -31,6 +31,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <pthread.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index d6c4d1aed017420666da1ad68562542f151b6d80..5284a4837bc9fdd0e69e28db4bbec6774ae0e67a 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 97660676e548f08d55cc7b3aadf51c066c03338d..12430d0d30d6f33f010a533a4ceceb3a04ae6937 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 969b802106da801750f39a5e02b1ab05c74c3348..b9cfd79382c8848b130644a4c5c776d4612975d3 100644 (file)
@@ -30,6 +30,8 @@
 #include <stdio.h>
 #include <assert.h>
 #include <sys/syscall.h>
+#include <errno.h>
+
 #include <urcu/arch.h>
 
 #if defined(_syscall0)
index 923ecad946b050e4c1535efba941aa8d5cdf1b1b..837b800df6c40b22b38fce0f249f6a0c9b294725 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index c5c947895458d19311f8ff8774f8579cfc521fc7..869017ea9a1d0dc8a250d3a88de47d7d86ec02d4 100644 (file)
@@ -31,6 +31,8 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <pthread.h>
+#include <errno.h>
+
 #include <urcu/arch.h>
 
 #if defined(_syscall0)
index 42892165fce3238564580f2407f4f1922f179f5a..2f8cd163ee7ac7a7ac284b9d31bec7d97905e1bc 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 1b8f618972203fc6522dd59570a73992b1a55df7..83b8f2c814110024b06ca16167550f0f1ba78fa6 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index fca7ac5d75f7ea4167928b3b22d9fa72c71abda3..baf23dc8d70121b833d7cf63e1ac642ce36324c4 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 08e3e60b404927ae9c76b275f8bf12e5f498dc9a..309c3b2767d327f3691cae01fc6f3de2e2927921 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 162fae0490e3748decc57d04dd53909b05ad91a2..6d4cde3796a8bdff0cd7b05693eb3ba2b6164e48 100644 (file)
@@ -32,6 +32,7 @@
 #include <assert.h>
 #include <sys/syscall.h>
 #include <sched.h>
+#include <errno.h>
 
 #include <urcu/arch.h>
 
index 79cd838f56084cd6aae287619206a42d777eab29..2bccb33e3b03446bcad934c429080fac54ace14d 100644 (file)
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <assert.h>
 #include <sys/syscall.h>
+#include <errno.h>
 #include <urcu/arch.h>
 
 #if defined(_syscall0)
index 929d171b862717ab985bcde59407f1678c3fbe21..241d2371ab7e4fe91ce7b5dfdeb021d95761934c 100644 (file)
@@ -3,6 +3,7 @@
 #include <poll.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <errno.h>
 #include <urcu/arch.h>
 #include "api.h"
 #define _LGPL_SOURCE
This page took 0.03116 seconds and 4 git commands to generate.