summaryrefslogtreecommitdiffstats
path: root/dotlock.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-14 09:29:27 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-14 09:29:27 +0000
commit9bd48bed0e35a76bf48e8deed9a30adac985f3a1 (patch)
treee2bd37d4b4586b7f21393ec604c444f6c79ec8fc /dotlock.c
parentec6a0838f08027c7cfc4681c2ecc0748a9963c56 (diff)
Various build fixes.
Diffstat (limited to 'dotlock.c')
-rw-r--r--dotlock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dotlock.c b/dotlock.c
index 0410f084..1d1c485f 100644
--- a/dotlock.c
+++ b/dotlock.c
@@ -29,6 +29,10 @@ static char rcsid[]="$Id$";
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#endif
+
#include <unistd.h>
#include <dirent.h>
#include <sys/file.h>