summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-11-29 15:35:52 +0100
committerGravatar Nikias Bassen2024-11-29 15:35:52 +0100
commitadd40b9e727c8a12e9e9fabd9e6d7c07ac796d79 (patch)
tree90afd2ef8a2bfca25b97e73d28a73f15cd30409f
parenta9110664296318a032e2a5c424eb371b24875c3c (diff)
downloadlibimobiledevice-add40b9e727c8a12e9e9fabd9e6d7c07ac796d79.tar.gz
libimobiledevice-add40b9e727c8a12e9e9fabd9e6d7c07ac796d79.tar.bz2
tools: Fix build due to missing sys/stat.h
-rw-r--r--tools/afcclient.c1
-rw-r--r--tools/idevicebackup.c1
-rw-r--r--tools/idevicecrashreport.c1
-rw-r--r--tools/ideviceimagemounter.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/tools/afcclient.c b/tools/afcclient.c
index 1c14bf2..1f7df5e 100644
--- a/tools/afcclient.c
+++ b/tools/afcclient.c
@@ -38,6 +38,7 @@
38#include <unistd.h> 38#include <unistd.h>
39#include <dirent.h> 39#include <dirent.h>
40#include <time.h> 40#include <time.h>
41#include <sys/stat.h>
41 42
42#ifdef _WIN32 43#ifdef _WIN32
43#include <windows.h> 44#include <windows.h>
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c
index 5de2d68..c2ff6a3 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -35,6 +35,7 @@
35#include <unistd.h> 35#include <unistd.h>
36#include <ctype.h> 36#include <ctype.h>
37#include <time.h> 37#include <time.h>
38#include <sys/stat.h>
38 39
39#include <libimobiledevice/libimobiledevice.h> 40#include <libimobiledevice/libimobiledevice.h>
40#include <libimobiledevice/lockdown.h> 41#include <libimobiledevice/lockdown.h>
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c
index 9814b79..ced5be2 100644
--- a/tools/idevicecrashreport.c
+++ b/tools/idevicecrashreport.c
@@ -31,6 +31,7 @@
31#include <string.h> 31#include <string.h>
32#include <unistd.h> 32#include <unistd.h>
33#include <getopt.h> 33#include <getopt.h>
34#include <sys/stat.h>
34#ifndef _WIN32 35#ifndef _WIN32
35#include <signal.h> 36#include <signal.h>
36#endif 37#endif
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c
index 8d6fc95..c9825e4 100644
--- a/tools/ideviceimagemounter.c
+++ b/tools/ideviceimagemounter.c
@@ -36,6 +36,7 @@
36#include <time.h> 36#include <time.h>
37#include <sys/time.h> 37#include <sys/time.h>
38#include <inttypes.h> 38#include <inttypes.h>
39#include <sys/stat.h>
39#ifndef _WIN32 40#ifndef _WIN32
40#include <signal.h> 41#include <signal.h>
41#endif 42#endif