summaryrefslogtreecommitdiff
path: root/test/nptl/tst-flock2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-flock2.c')
-rw-r--r--test/nptl/tst-flock2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nptl/tst-flock2.c b/test/nptl/tst-flock2.c
index 941c52f..acc6972 100644
--- a/test/nptl/tst-flock2.c
+++ b/test/nptl/tst-flock2.c
@@ -21,10 +21,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <fcntl.h>
#include <sys/file.h>
#include <sys/mman.h>
#include <sys/wait.h>
-
+#include "../test-skeleton.h"
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static pthread_mutex_t lock2 = PTHREAD_MUTEX_INITIALIZER;