summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-01 21:09:11 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-01 21:09:11 -0400
commitecb3f9d1a0ab5e85a84e8cb3ee6e86aab4a6eeeb (patch)
treef05e91a8d1b6a3e1e25ed77ba85d565afef1f2eb
parent17d03bb71fc2a4944505dd0cd89a8e2d9b2deabc (diff)
downloadlibc-testsuite-ecb3f9d1a0ab5e85a84e8cb3ee6e86aab4a6eeeb.tar.gz
semaphore tests may need fcntl.h
-rw-r--r--sem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sem.c b/sem.c
index 4930e4d..efc1b30 100644
--- a/sem.c
+++ b/sem.c
@@ -6,6 +6,7 @@
#include <string.h>
#include <semaphore.h>
#include <time.h>
+#include <fcntl.h>
#define TEST(r, f, x, m) ( \
((r) = (f)) == (x) || \