diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-09-11 15:47:51 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-09-13 00:32:02 +0100 |
commit | 0aa2840164fc782f150cd45f8668ca623e6002cf (patch) | |
tree | 68d4b762c6233946fc3e73af546e2a5a5f6cdb16 /toxcore/TCP_server.c | |
parent | 2b2dc07f6f7fe28a8e558125d977d2fa9cef3881 (diff) |
Group #include directives in 3-4 groups.
1. Current module (if C file).
2. Headers from current library.
3. Headers from other library (e.g. toxcore includes in toxav).
4. System headers.
Diffstat (limited to 'toxcore/TCP_server.c')
-rw-r--r-- | toxcore/TCP_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c index 81f884d8..d4b5ddd1 100644 --- a/toxcore/TCP_server.c +++ b/toxcore/TCP_server.c | |||
@@ -26,12 +26,12 @@ | |||
26 | 26 | ||
27 | #include "TCP_server.h" | 27 | #include "TCP_server.h" |
28 | 28 | ||
29 | #include "util.h" | ||
30 | |||
29 | #if !defined(_WIN32) && !defined(__WIN32__) && !defined (WIN32) | 31 | #if !defined(_WIN32) && !defined(__WIN32__) && !defined (WIN32) |
30 | #include <sys/ioctl.h> | 32 | #include <sys/ioctl.h> |
31 | #endif | 33 | #endif |
32 | 34 | ||
33 | #include "util.h" | ||
34 | |||
35 | /* return 1 on success | 35 | /* return 1 on success |
36 | * return 0 on failure | 36 | * return 0 on failure |
37 | */ | 37 | */ |