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 @@
30#include "afc.h" 30#include "afc.h"
31#include "idevice.h" 31#include "idevice.h"
32#include "debug.h" 32#include "debug.h"
33#include "endianness.h"
33 34
34/** The maximum size an AFC data packet can be */ 35/** The maximum size an AFC data packet can be */
35static const int MAXIMUM_PACKET_SIZE = (2 << 15); 36static 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 @@
27#endif 27#endif
28 28
29#include "libimobiledevice/afc.h" 29#include "libimobiledevice/afc.h"
30#include "endianness.h"
30 31
31#define AFC_MAGIC "CFA6LPAA" 32#define AFC_MAGIC "CFA6LPAA"
32#define AFC_MAGIC_LEN (8) 33#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 @@
27#include "property_list_service.h" 27#include "property_list_service.h"
28#include "idevice.h" 28#include "idevice.h"
29#include "debug.h" 29#include "debug.h"
30#include "endianness.h"
30 31
31/** 32/**
32 * Convert an idevice_error_t value to an property_list_service_error_t value. 33 * Convert an idevice_error_t value to an property_list_service_error_t value.