ports/security/openconnect-gui/files/patch-src_vpninfo.h
Nikolai Lifanov a377a91195 add security/openconnect-gui: Graphical Openconnect Client
PR:		212879
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Reviewed by:	matthew
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D9256
2017-01-21 18:56:58 +00:00

11 lines
225 B
C

--- src/vpninfo.h.orig 2016-08-28 20:11:26 UTC
+++ src/vpninfo.h
@@ -23,7 +23,7 @@
#ifdef _WIN32
#include <winsock2.h>
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
#define SOCKET int
#endif