summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-14 02:26:51 +0200
committerGravatar Martin Szulecki2012-03-19 01:43:21 +0100
commit294cf69b256419e407b1eac04634752412ee7756 (patch)
treeaad873d07fca6e69547aa2609a645531fab44ddd /src
parentabf7eaa91e2ece0f461c71d3dcc0b2900c199209 (diff)
downloadlibimobiledevice-294cf69b256419e407b1eac04634752412ee7756.tar.gz
libimobiledevice-294cf69b256419e407b1eac04634752412ee7756.tar.bz2
New file for be*/le* macros plus check for endian.h presence
Diffstat (limited to 'src')
-rw-r--r--src/afc.c1
-rw-r--r--src/afc.h1
-rw-r--r--src/property_list_service.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/afc.c b/src/afc.c
index 5ae9e38..f9c7dfa 100644
--- a/src/afc.c
+++ b/src/afc.c
@@ -30,6 +30,7 @@
#include "afc.h"
#include "idevice.h"
#include "debug.h"
+#include "endianness.h"
/** The maximum size an AFC data packet can be */
static const int MAXIMUM_PACKET_SIZE = (2 << 15);
diff --git a/src/afc.h b/src/afc.h
index 731746a..87a2fd6 100644
--- a/src/afc.h
+++ b/src/afc.h
@@ -27,6 +27,7 @@
#endif
#include "libimobiledevice/afc.h"
+#include "endianness.h"
#define AFC_MAGIC "CFA6LPAA"
#define AFC_MAGIC_LEN (8)
diff --git a/src/property_list_service.c b/src/property_list_service.c
index 0df04c7..2a15be5 100644
--- a/src/property_list_service.c
+++ b/src/property_list_service.c
@@ -27,6 +27,7 @@
#include "property_list_service.h"
#include "idevice.h"
#include "debug.h"
+#include "endianness.h"
/**
* Convert an idevice_error_t value to an property_list_service_error_t value.