summaryrefslogtreecommitdiffstats
path: root/dotlock.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-27 16:36:11 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-27 16:36:11 +0000
commit406d17a418eeed3c02c53557c849ead0ffe07f82 (patch)
tree3e9bfdf014ef15d6f016eb8236d3fcf3b2be7471 /dotlock.c
parent1ed6622042ccd179ee81291c93af7f15e8a0c206 (diff)
include config.h _before_ checking for HAVE_GETOPT. Noted by Scott
Perlman <perlman@linguist.dartmouth.edu>.
Diffstat (limited to 'dotlock.c')
-rw-r--r--dotlock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotlock.c b/dotlock.c
index 3b70004f..e1f892b7 100644
--- a/dotlock.c
+++ b/dotlock.c
@@ -29,10 +29,6 @@ static const 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>
@@ -50,6 +46,10 @@ static const char rcsid[]="$Id$";
#include "dotlock.h"
#include "config.h"
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#endif
+
#ifdef DL_STANDALONE
#include "reldate.h"
#endif