summaryrefslogtreecommitdiff
path: root/source3/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 19:10:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:09 -0500
commit2f66beb8adf679ed1e2e36f9c808c43f095e23cf (patch)
treeb7f486b40393da6ddc53a921d518160dbf9032f1 /source3/lib/replace/replace.h
parent2ae539f5665ee9a849bad97cfb5ecc10cce3e766 (diff)
downloadsamba-2f66beb8adf679ed1e2e36f9c808c43f095e23cf.tar.gz
samba-2f66beb8adf679ed1e2e36f9c808c43f095e23cf.tar.bz2
samba-2f66beb8adf679ed1e2e36f9c808c43f095e23cf.zip
r20817: sync lib/replace with samba4
metze (This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
Diffstat (limited to 'source3/lib/replace/replace.h')
-rw-r--r--source3/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 7a79f335e2..d75394aa1f 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -209,6 +209,10 @@ void *rep_dlsym(void *handle, const char *symbol);
int rep_dlclose(void *handle);
#endif
+#ifndef HAVE_SOCKETPAIR
+#define socketpair rep_socketpair
+int rep_socketpair(int d, int type, int protocol, int sv[2]);
+#endif
#ifndef PRINTF_ATTRIBUTE
#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )