Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
667e72a
)
move include of compat.h after other includes.
author
Andrew Tridgell
<tridge@samba.org>
Thu, 18 Jun 1998 09:37:21 +0000
(09:37 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 18 Jun 1998 09:37:21 +0000
(09:37 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
41f480e
..
73452d9
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-91,10
+91,6
@@
#include <string.h>
#endif
#include <string.h>
#endif
-#ifdef HAVE_COMPAT_H
-#include <compat.h>
-#endif
-
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
@@
-187,6
+183,26
@@
#include <syslog.h>
#include <sys/file.h>
#include <syslog.h>
#include <sys/file.h>
+#if HAVE_DIRENT_H
+# include <dirent.h>
+#else
+# define dirent direct
+# if HAVE_SYS_NDIR_H
+# include <sys/ndir.h>
+# endif
+# if HAVE_SYS_DIR_H
+# include <sys/dir.h>
+# endif
+# if HAVE_NDIR_H
+# include <ndir.h>
+# endif
+#endif
+
+#ifdef HAVE_COMPAT_H
+#include <compat.h>
+#endif
+
+
#ifndef S_IFLNK
#define S_IFLNK 0120000
#endif
#ifndef S_IFLNK
#define S_IFLNK 0120000
#endif
@@
-338,21
+354,6
@@
static inline int flist_up(struct file_list *flist, int i)
return i;
}
return i;
}
-#if HAVE_DIRENT_H
-# include <dirent.h>
-#else
-# define dirent direct
-# if HAVE_SYS_NDIR_H
-# include <sys/ndir.h>
-# endif
-# if HAVE_SYS_DIR_H
-# include <sys/dir.h>
-# endif
-# if HAVE_NDIR_H
-# include <ndir.h>
-# endif
-#endif
-
#include "byteorder.h"
#include "version.h"
#include "proto.h"
#include "byteorder.h"
#include "version.h"
#include "proto.h"