moved getopt.h above unistd.h to prevent problems with uwin on NT
authorAndrew Tridgell <tridge@samba.org>
Fri, 17 Jul 1998 07:17:11 +0000 (07:17 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 17 Jul 1998 07:17:11 +0000 (07:17 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index deb20a2..b3d4472 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #endif
 
 #include <sys/types.h>
+
+#ifdef HAVE_GETOPT_LONG
+#include <getopt.h>
+#else
+#include "lib/getopt.h"
+#endif
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 #include "lib/fnmatch.h"
 #endif
 
-#ifdef HAVE_GETOPT_LONG
-#include <getopt.h>
-#else
-#include "lib/getopt.h"
-#endif
-
 #ifdef HAVE_GLOB
 #include <glob.h>
 #endif