summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/roken.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build/roken.h')
-rw-r--r--source4/heimdal_build/roken.h4
1 files changed, 3 insertions, 1 deletions
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