summaryrefslogtreecommitdiff
path: root/io/lockf.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/lockf.c')
-rw-r--r--io/lockf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io/lockf.c b/io/lockf.c
index b034a74ea2..91664197ae 100644
--- a/io/lockf.c
+++ b/io/lockf.c
@@ -18,6 +18,8 @@ Cambridge, MA 02139, USA. */
#include <sys/types.h>
#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
/* lockf is a simplified interface to fcntl's locking facilities. */