summaryrefslogtreecommitdiff
path: root/dev-embedded/dc-tool-ip/files/dc-tool-ip-1.0.4-headers.patch
blob: 6782782629009147f916f14e18162a76e2d63036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/host-src/tool/dc-tool.c
+++ b/host-src/tool/dc-tool.c
@@ -24,6 +24,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #ifdef _WIN32
 #include <string.h>
 #include <windows.h>
--- a/host-src/tool/syscalls.c
+++ b/host-src/tool/syscalls.c
@@ -24,6 +24,9 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
+#include <arpa/inet.h>
+#include <time.h>
 #include <sys/time.h>
 #include <unistd.h>
 #include <utime.h>