1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Fixed compilation errors on FreeBSD.

This commit is contained in:
Matias Fontanini
2014-09-19 08:50:35 -03:00
parent 74cca6a483
commit 1ba203d742
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@
#ifdef WIN32
#include <ws2tcpip.h>
#else // WIN32
#include <sys/socket.h>
#include <arpa/inet.h>
#endif // WIN32
#include <stdexcept>

View File

@@ -33,6 +33,7 @@
#endif
#include <stdexcept>
#ifndef WIN32
#include <sys/types.h>
#include <net/ethernet.h>
#endif
#include "snap.h"