summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) || \