diff options
-rw-r--r-- | source4/heimdal_build/roken.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h index c032fc67e6..766f4555b8 100644 --- a/source4/heimdal_build/roken.h +++ b/source4/heimdal_build/roken.h @@ -73,9 +73,12 @@ #define HAVE_INNETGR #endif -#ifdef SOCKET_WRAPPER -#define SOCKET_WRAPPER_REPLACE SOCKET_WRAPPER -#endif - +/* + * we don't want that roken.h.in includes socket_wrapper + * we include socket_wrapper via "system/network.h" + */ +#undef SOCKET_WRAPPER_REPLACE #include "heimdal/lib/roken/roken.h.in" +#include "system/network.h" + #endif |