git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7957ea9
)
r26495: Add defines for getifaddrs/freeifaddrs.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 17 Dec 2007 06:45:05 +0000
(07:45 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:50:49 +0000
(
05:50
+0100)
(This used to be commit
c9e5a3078f7baa83743658d5648f0eefdeb05d2f
)
source4/lib/replace/replace.h
patch
|
blob
|
history
diff --git
a/source4/lib/replace/replace.h
b/source4/lib/replace/replace.h
index 973c68ee141b04fe67cc71742884f88df0676412..f8a89a7213b7dfd6a14d134a3a0df15a1d1937d3 100644
(file)
--- a/
source4/lib/replace/replace.h
+++ b/
source4/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