summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-02-10 17:13:56 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-02-10 17:13:56 +0000
commit9732ed19816f21dc784caec178bd319e44df0eb6 (patch)
tree826984c76be550c6ecf005b816668bff2a9886c8
parentb43809ba555622797d2acaf0a6a58628983b8946 (diff)
downloadbtpd-9732ed19816f21dc784caec178bd319e44df0eb6.tar.gz
btpd-9732ed19816f21dc784caec178bd319e44df0eb6.zip
Glibc needs sys/file.h for flock.
-rw-r--r--btpd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btpd/main.c b/btpd/main.c
index 97690fe..d7bfc1e 100644
--- a/btpd/main.c
+++ b/btpd/main.c
@@ -1,11 +1,11 @@
 #include <sys/types.h>
+#include <sys/file.h>
 #include <sys/stat.h>
 
 #include <assert.h>
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <file.h>
 #include <getopt.h>
 #include <locale.h>
 #include <stdio.h>