From 6ed67e6dd557f8c70fcea6578c48658c1850ca58 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 17 Jul 1998 07:17:11 +0000 Subject: [PATCH] moved getopt.h above unistd.h to prevent problems with uwin on NT --- rsync.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/rsync.h b/rsync.h index deb20a23..b3d44725 100644 --- a/rsync.h +++ b/rsync.h @@ -69,6 +69,13 @@ #endif #include + +#ifdef HAVE_GETOPT_LONG +#include +#else +#include "lib/getopt.h" +#endif + #ifdef HAVE_UNISTD_H #include #endif @@ -162,12 +169,6 @@ #include "lib/fnmatch.h" #endif -#ifdef HAVE_GETOPT_LONG -#include -#else -#include "lib/getopt.h" -#endif - #ifdef HAVE_GLOB #include #endif -- 2.34.1