]> granicus.if.org Git - neomutt/commitdiff
include config.h _before_ checking for HAVE_GETOPT. Noted by Scott
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 27 Oct 1998 16:36:11 +0000 (16:36 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 27 Oct 1998 16:36:11 +0000 (16:36 +0000)
Perlman <perlman@linguist.dartmouth.edu>.

dotlock.c

index 3b70004f0323b33ca89a5cbe815928bd5fcbe8f1..e1f892b728d73f021dc64250ce84fe89713610da 100644 (file)
--- 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