aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/flock/src/flock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/flock/src/flock.c b/tools/flock/src/flock.c
index 13baec46ca..3ac3a4bebc 100644
--- a/tools/flock/src/flock.c
+++ b/tools/flock/src/flock.c
@@ -39,6 +39,7 @@
#include <sys/file.h>
#include <sys/time.h>
#include <sys/wait.h>
+#include <fcntl.h>
#define PACKAGE_STRING "util-linux-ng 2.18"
#define _(x) (x)