summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-01-05 02:36:37 +0100
committerGravatar Nikias Bassen2020-01-05 02:36:37 +0100
commit49d2c6d8051c84ec0ba6db1943a1b7369a0f2741 (patch)
treec87be9576eefe5b936f4caa8fd5f0338fd1ad4a1 /src
parent90f7ca00cd5e19cc6fa72658a664b04fa925f373 (diff)
downloadlibimobiledevice-49d2c6d8051c84ec0ba6db1943a1b7369a0f2741.tar.gz
libimobiledevice-49d2c6d8051c84ec0ba6db1943a1b7369a0f2741.tar.bz2
Make sure all source files include config.h
Diffstat (limited to 'src')
-rw-r--r--src/device_link_service.c4
-rw-r--r--src/diagnostics_relay.c4
-rw-r--r--src/file_relay.c4
-rw-r--r--src/house_arrest.c3
-rw-r--r--src/misagent.c3
-rw-r--r--src/mobile_image_mounter.c3
-rw-r--r--src/mobileactivation.c4
-rw-r--r--src/mobilebackup.c3
-rw-r--r--src/mobilebackup2.c3
-rw-r--r--src/mobilesync.c4
-rw-r--r--src/notification_proxy.c3
-rw-r--r--src/restore.c3
-rw-r--r--src/sbservices.c3
-rw-r--r--src/screenshotr.c3
14 files changed, 46 insertions, 1 deletions
diff --git a/src/device_link_service.c b/src/device_link_service.c
index 856d301..6daf84d 100644
--- a/src/device_link_service.c
+++ b/src/device_link_service.c
@@ -18,6 +18,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include "device_link_service.h"
diff --git a/src/diagnostics_relay.c b/src/diagnostics_relay.c
index 3ac6058..0e864c7 100644
--- a/src/diagnostics_relay.c
+++ b/src/diagnostics_relay.c
@@ -18,6 +18,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include "diagnostics_relay.h"
diff --git a/src/file_relay.c b/src/file_relay.c
index 455855b..e304d31 100644
--- a/src/file_relay.c
+++ b/src/file_relay.c
@@ -18,6 +18,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include "file_relay.h"
diff --git a/src/house_arrest.c b/src/house_arrest.c
index 135fc01..ac92130 100644
--- a/src/house_arrest.c
+++ b/src/house_arrest.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/misagent.c b/src/misagent.c
index 91b8acb..d790a05 100644
--- a/src/misagent.c
+++ b/src/misagent.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/mobile_image_mounter.c b/src/mobile_image_mounter.c
index bbebbb4..9ccfd85 100644
--- a/src/mobile_image_mounter.c
+++ b/src/mobile_image_mounter.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/mobileactivation.c b/src/mobileactivation.c
index 010484e..ea891b7 100644
--- a/src/mobileactivation.c
+++ b/src/mobileactivation.c
@@ -18,6 +18,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include "mobileactivation.h"
diff --git a/src/mobilebackup.c b/src/mobilebackup.c
index 2682a6f..cde96b5 100644
--- a/src/mobilebackup.c
+++ b/src/mobilebackup.c
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <plist/plist.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/mobilebackup2.c b/src/mobilebackup2.c
index e7cc581..56b7058 100644
--- a/src/mobilebackup2.c
+++ b/src/mobilebackup2.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <plist/plist.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/mobilesync.c b/src/mobilesync.c
index b0efc80..163a41e 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -20,9 +20,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define _GNU_SOURCE 1
#define __USE_GNU 1
-
#include <plist/plist.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/notification_proxy.c b/src/notification_proxy.c
index eea01ca..e17e2fe 100644
--- a/src/notification_proxy.c
+++ b/src/notification_proxy.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/restore.c b/src/restore.c
index 0a13698..4e9d65a 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <errno.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/sbservices.c b/src/sbservices.c
index 0591f4a..ccb7c4b 100644
--- a/src/sbservices.c
+++ b/src/sbservices.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/screenshotr.c b/src/screenshotr.c
index ddb9d6e..9e79b43 100644
--- a/src/screenshotr.c
+++ b/src/screenshotr.c
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <plist/plist.h>
#include <string.h>
#include <stdlib.h>