summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2006-10-08 21:09:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:49 -0500
commit5b34e585fc4b334ee4e1978bccfc39125c8408d7 (patch)
tree4107c0c2e2693765b66913eadbb64866a99f7307 /source4
parentae908a5b06345eea59d56ab64d09544e976aff18 (diff)
downloadsamba-5b34e585fc4b334ee4e1978bccfc39125c8408d7.tar.gz
samba-5b34e585fc4b334ee4e1978bccfc39125c8408d7.tar.bz2
samba-5b34e585fc4b334ee4e1978bccfc39125c8408d7.zip
r19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing.
(This used to be commit 8c2585f0cfb7ae229de066965a732904545f0869)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index 68ee400a7b..d2ef84ac22 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/lib/socket_wrapper/socket_wrapper.c
@@ -74,6 +74,8 @@
#include <string.h>
#include <stdio.h>
+#define _PUBLIC_
+
#error "dlinklist.h missing"
#endif