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:
2b106d0
)
Cope on machines without INADDR_LOOPBACK.
author
Martin Pool
<mbp@samba.org>
Fri, 31 Aug 2001 08:22:00 +0000
(08:22 +0000)
committer
Martin Pool
<mbp@samba.org>
Fri, 31 Aug 2001 08:22:00 +0000
(08:22 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
6a663fe
..
da891c9
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-486,6
+486,13
@@
extern int errno;
# define NONBLOCK_FLAG FNDELAY
#endif
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK 0x7f000001
+#endif
+
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode))