git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839d128
)
r26495: Add defines for getifaddrs/freeifaddrs.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 17 Dec 2007 06:45:05 +0000
(07:45 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 19 Feb 2008 20:59:27 +0000
(21:59 +0100)
(cherry picked from commit
c9e5a3078f7baa83743658d5648f0eefdeb05d2f
)
source/lib/replace/replace.h
patch
|
blob
|
history
diff --git
a/source/lib/replace/replace.h
b/source/lib/replace/replace.h
index 1d1cbc2cd27db4e8d38130843aa5e4e32da490ec..3f91544e9782f914c1d898ebf7b5c8f50da5b843 100644
(file)
--- a/
source/lib/replace/replace.h
+++ b/
source/lib/replace/replace.h
@@
-340,6
+340,16
@@
ssize_t rep_pwrite(int __fd, const void *__buf, size_t __nbytes, off_t __offset)
/* prototype is in "system/network.h" */
#endif
+#ifndef HAVE_GETIFADDRS
+#define getifaddrs rep_getifaddrs
+/* prototype is in "system/network.h" */
+#endif
+
+#ifndef HAVE_FREEIFADDRS
+#define freeifaddrs rep_freeifaddrs
+/* prototype is in "system/network.h" */
+#endif
+
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif