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/ping.c | |
parent | 291a849a5a0afb4450bcd0d0c50b7aeccaac04f5 (diff) |
Move system header includes from network.h to network.c
Diffstat (limited to 'toxcore/ping.c')
-rw-r--r-- | toxcore/ping.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toxcore/ping.c b/toxcore/ping.c index bede07a1..cc77f2b1 100644 --- a/toxcore/ping.c +++ b/toxcore/ping.c | |||
@@ -29,13 +29,14 @@ | |||
29 | 29 | ||
30 | #include "ping.h" | 30 | #include "ping.h" |
31 | 31 | ||
32 | #include <stdlib.h> | ||
33 | #include <string.h> | ||
34 | |||
32 | #include "DHT.h" | 35 | #include "DHT.h" |
33 | #include "network.h" | 36 | #include "network.h" |
34 | #include "ping_array.h" | 37 | #include "ping_array.h" |
35 | #include "util.h" | 38 | #include "util.h" |
36 | 39 | ||
37 | #include <stdint.h> | ||
38 | |||
39 | #define PING_NUM_MAX 512 | 40 | #define PING_NUM_MAX 512 |
40 | 41 | ||
41 | /* Maximum newly announced nodes to ping per TIME_TO_PING seconds. */ | 42 | /* Maximum newly announced nodes to ping per TIME_TO_PING seconds. */ |