Ver código fonte

tools: Fix build due to missing sys/stat.h

Nikias Bassen 4 meses atrás
pai
commit
add40b9e72

+ 1 - 0
tools/afcclient.c

@@ -38,6 +38,7 @@
 #include <unistd.h>
 #include <dirent.h>
 #include <time.h>
+#include <sys/stat.h>
 
 #ifdef _WIN32
 #include <windows.h>

+ 1 - 0
tools/idevicebackup.c

@@ -35,6 +35,7 @@
 #include <unistd.h>
 #include <ctype.h>
 #include <time.h>
+#include <sys/stat.h>
 
 #include <libimobiledevice/libimobiledevice.h>
 #include <libimobiledevice/lockdown.h>

+ 1 - 0
tools/idevicecrashreport.c

@@ -31,6 +31,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <getopt.h>
+#include <sys/stat.h>
 #ifndef _WIN32
 #include <signal.h>
 #endif

+ 1 - 0
tools/ideviceimagemounter.c

@@ -36,6 +36,7 @@
 #include <time.h>
 #include <sys/time.h>
 #include <inttypes.h>
+#include <sys/stat.h>
 #ifndef _WIN32
 #include <signal.h>
 #endif