From 8bf032aea8233a702457303f462db17c44944b58 Mon Sep 17 00:00:00 2001 From: Osman Rafiq Date: Wed, 18 Sep 2019 11:10:53 +0200 Subject: [PATCH] Fixes #49 - use winsock.h on Windows --- src/main/java/org/wildfly/common/net/Substitutions.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/wildfly/common/net/Substitutions.java b/src/main/java/org/wildfly/common/net/Substitutions.java index f9a826a..ebcdd22 100644 --- a/src/main/java/org/wildfly/common/net/Substitutions.java +++ b/src/main/java/org/wildfly/common/net/Substitutions.java @@ -113,6 +113,9 @@ static final class NativeInfo { static final class NativeInfoDirectives implements CContext.Directives { public List getHeaderFiles() { + if (Platform.includedIn(Platform.WINDOWS.class)) { + return Collections.singletonList(""); + } return Collections.singletonList(""); } }