diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-27 02:07:59 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-05-20 15:42:42 +0000 |
commit | be797d4b039b40d2c876f0a71cd1e48454a74065 (patch) | |
tree | c759c0f15a3ac0285e0bd941dc3edad06ade015d /toxcore/Messenger.c | |
parent | 291a849a5a0afb4450bcd0d0c50b7aeccaac04f5 (diff) |
Move system header includes from network.h to network.c
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 2408c844..c381db0c 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -27,12 +27,16 @@ | |||
27 | 27 | ||
28 | #include "Messenger.h" | 28 | #include "Messenger.h" |
29 | 29 | ||
30 | #include <assert.h> | ||
31 | #include <stdio.h> | ||
32 | #include <stdlib.h> | ||
33 | #include <string.h> | ||
34 | #include <time.h> | ||
35 | |||
30 | #include "logger.h" | 36 | #include "logger.h" |
31 | #include "network.h" | 37 | #include "network.h" |
32 | #include "util.h" | 38 | #include "util.h" |
33 | 39 | ||
34 | #include <assert.h> | ||
35 | |||
36 | static int write_cryptpacket_id(const Messenger *m, int32_t friendnumber, uint8_t packet_id, const uint8_t *data, | 40 | static int write_cryptpacket_id(const Messenger *m, int32_t friendnumber, uint8_t packet_id, const uint8_t *data, |
37 | uint32_t length, uint8_t congestion_control); | 41 | uint32_t length, uint8_t congestion_control); |
38 | 42 | ||