summaryrefslogtreecommitdiff
path: root/toxcore/network.h
diff options
context:
space:
mode:
authorYuri <yuri@tsoft.com>2017-02-12 22:28:18 -0800
committeriphydf <iphydf@users.noreply.github.com>2017-04-12 21:35:14 +0000
commitf751fcfbf62316be1aee7842c6db1100cc7c04b2 (patch)
tree0ff9862edd52dd2af711171c3f0243d204bb0907 /toxcore/network.h
parent5ff099763b1f56414572e1c12eb2f003117db5a0 (diff)
Added missing includes: <netinet/in.h> and <sys/socket.h>
Found these missing includes while compiling on FreeBSD 11.
Diffstat (limited to 'toxcore/network.h')
-rw-r--r--toxcore/network.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/toxcore/network.h b/toxcore/network.h
index 4f27a81d..cc5cbae3 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -58,8 +58,10 @@
58#include <windows.h> 58#include <windows.h>
59#include <ws2tcpip.h> 59#include <ws2tcpip.h>
60 60
61#else // Linux includes 61#else // UNIX includes
62 62
63#include <sys/socket.h>
64#include <netinet/in.h>
63#include <arpa/inet.h> 65#include <arpa/inet.h>
64#include <netdb.h> 66#include <netdb.h>
65#include <unistd.h> 67#include <unistd.h>