diff options
author | Yuri <yuri@tsoft.com> | 2017-02-12 22:28:18 -0800 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2017-04-12 21:35:14 +0000 |
commit | f751fcfbf62316be1aee7842c6db1100cc7c04b2 (patch) | |
tree | 0ff9862edd52dd2af711171c3f0243d204bb0907 /toxcore/network.c | |
parent | 5ff099763b1f56414572e1c12eb2f003117db5a0 (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.c')
-rw-r--r-- | toxcore/network.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/toxcore/network.c b/toxcore/network.c index 62b36ae6..55cfa338 100644 --- a/toxcore/network.c +++ b/toxcore/network.c | |||
@@ -52,14 +52,11 @@ | |||
52 | 52 | ||
53 | #if !(defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) | 53 | #if !(defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) |
54 | 54 | ||
55 | #include <arpa/inet.h> | ||
56 | #include <errno.h> | 55 | #include <errno.h> |
57 | #include <fcntl.h> | 56 | #include <fcntl.h> |
58 | #include <netdb.h> | 57 | #include <netdb.h> |
59 | #include <netinet/in.h> | ||
60 | #include <sys/time.h> | 58 | #include <sys/time.h> |
61 | #include <sys/types.h> | 59 | #include <sys/types.h> |
62 | #include <sys/socket.h> | ||
63 | 60 | ||
64 | #else | 61 | #else |
65 | 62 | ||