mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 00:46:27 -04:00
PR: 212879 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Reviewed by: matthew Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D9256
11 lines
225 B
C
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
|
|
|