]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
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 deb20a23581df6b8e55828e6164fe0158a23f3f9..b3d44725e9d6a71e46fb11b76b606d8eb83ebac6 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