summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.mk2
-rw-r--r--source4/heimdal_build/roken.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index 8e59009d70..2828b58f8a 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -492,6 +492,7 @@ OBJ_FILES = \
../heimdal/lib/roken/ecalloc.ho \
../heimdal/lib/asn1/symbol.ho \
../heimdal/lib/vers/print_version.ho \
+ ../lib/socket_wrapper/socket_wrapper.ho \
replace.ho
PRIVATE_DEPENDENCIES = HEIMDAL_ASN1_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H
# End BINARY asn1_compile
@@ -517,6 +518,7 @@ OBJ_FILES = ../heimdal/lib/vers/print_version.ho \
../heimdal/lib/roken/get_window_size.ho \
../heimdal/lib/roken/strupr.ho \
../heimdal/lib/roken/setprogname.ho \
+ ../lib/socket_wrapper/socket_wrapper.ho \
replace.ho
PRIVATE_DEPENDENCIES = HEIMDAL_COM_ERR_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H
# End BINARY compile_et
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h
index c8bee58e7d..1377598615 100644
--- a/source4/heimdal_build/roken.h
+++ b/source4/heimdal_build/roken.h
@@ -69,7 +69,9 @@
#define HAVE_INNETGR
#endif
-#undef SOCKET_WRAPPER_REPLACE
+#ifdef SOCKET_WRAPPER
+#define SOCKET_WRAPPER_REPLACE SOCKET_WRAPPER
+#endif
#include "heimdal/lib/roken/roken.h.in"
#endif