diff options
Diffstat (limited to 'dev-embedded/dc-tool-ip/files/dc-tool-ip-1.0.4-headers.patch')
-rw-r--r-- | dev-embedded/dc-tool-ip/files/dc-tool-ip-1.0.4-headers.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-embedded/dc-tool-ip/files/dc-tool-ip-1.0.4-headers.patch b/dev-embedded/dc-tool-ip/files/dc-tool-ip-1.0.4-headers.patch new file mode 100644 index 000000000000..678278262900 --- /dev/null +++ b/dev-embedded/dc-tool-ip/files/dc-tool-ip-1.0.4-headers.patch @@ -0,0 +1,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> |