summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-11-29 17:00:38 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-11-29 17:15:36 -0800
commit263d2b8c93c3447115e15944ffec34991077d0c3 (patch)
treefa65077f17cc473351411d5c4cc789a08b593f87 /test
parent59214098c8ddda66ec7e9954b440cc67a9dbea2f (diff)
test/pthread: fix build of cancellation-points test
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'test')
-rw-r--r--test/pthread/cancellation-points.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pthread/cancellation-points.c b/test/pthread/cancellation-points.c
index af5df3aa1..c7e784e4f 100644
--- a/test/pthread/cancellation-points.c
+++ b/test/pthread/cancellation-points.c
@@ -29,12 +29,12 @@
/* take care of optional things ... */
#define STUB(func, args) static void func args { sleep(0); }
-#if !defined(__UCLIBC__) || defined(__UCLIBC_AIO__)
+#if defined(__UCLIBC_AIO__)
# include <aio.h>
#else
STUB(aio_suspend, (void *p, int n, const void *p2))
#endif
-#if !defined(__UCLIBC__) || defined(__UCLIBC_STROPTS__)
+#if defined(__UCLIBC_STROPTS__)
# include <stropts.h>
#else
STUB(getmsg, (int f, void *p, void *p2, void *p3))