summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/replace/system/network.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index 40d20db2d4a..f135d175d43 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -327,10 +327,12 @@ struct addrinfo {
#endif
#ifdef SOCKET_WRAPPER
+#ifndef SOCKET_WRAPPER_DISABLE
#ifndef SOCKET_WRAPPER_NOT_REPLACE
#define SOCKET_WRAPPER_REPLACE
-#endif
+#endif /* SOCKET_WRAPPER_NOT_REPLACE */
#include "../socket_wrapper/socket_wrapper.h"
-#endif
+#endif /* SOCKET_WRAPPER_DISABLE */
+#endif /* SOCKET_WRAPPER */
#endif