Commit c7e9c0914d7b0e360fc5fd9196f33d6d94559e8e

Authored by Imanol-Mikel Barba Sabariego
1 parent be710417

Added FreeBSD include

Showing 1 changed file with 5 additions and 0 deletions
check_openvpn/tcp.h
@@ -13,6 +13,11 @@ @@ -13,6 +13,11 @@
13 #include <sys/socket.h> 13 #include <sys/socket.h>
14 #include <netdb.h> 14 #include <netdb.h>
15 #include <fcntl.h> 15 #include <fcntl.h>
  16 +
  17 +#ifdef __FreeBSD__
  18 +#include <netinet/in.h>
  19 +#endif
  20 +
16 using namespace std; 21 using namespace std;
17 22
18 int createSocket(); 23 int createSocket();