]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix openserv/validate.o linking issues on mingw.
authorGert Doering <gert@greenie.muc.de>
Thu, 25 Feb 2016 14:58:32 +0000 (15:58 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 25 Feb 2016 16:32:16 +0000 (17:32 +0100)
MinGW fails linking after f3c8a04d6021 if the right header files
(<lm.h> and <shlwapi.h>) are not included.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <1456412312-21936-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11255

src/openvpnserv/validate.c

index d7446de47948d46fa0021958cdfe044370a041b6..b5809b3dd0aebb45f48177787d8cdf5101d59e36 100644 (file)
@@ -25,6 +25,8 @@
 #include "validate.h"
 
 #include <lmaccess.h>
+#include <shlwapi.h>
+#include <lm.h>
 
 static const WCHAR *white_list[] =
     {