From de2de1213c4510f5aeb77ab479d90021ef2b61c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 16 Sep 2006 17:33:07 +0000 Subject: [PATCH] Add samba socket wrapper fragment. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18097 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/Makefile.am | 5 +++++ lib/roken/roken.h.in | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/lib/roken/Makefile.am b/lib/roken/Makefile.am index 8b764ba25..21cf93155 100644 --- a/lib/roken/Makefile.am +++ b/lib/roken/Makefile.am @@ -159,6 +159,11 @@ include_HEADERS = \ xdbm.h \ $(XHEADERS) +if have_socket_wrapper +libroken_la_SOURCES += socket_wrapper.c socket_wrapper.h +include_HEADERS += socket_wrapper.h +endif + build_HEADERZ = test-mem.h nodist_include_HEADERS = roken.h diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 95d720dd6..0c1e666bd 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -693,4 +693,8 @@ int ROKEN_LIB_FUNCTION closefrom(int); #endif +#ifdef SOCKET_WRAPPER_REPLACE +#include +#endif + ROKEN_CPP_END