diff options
| author | 2011-09-14 02:26:51 +0200 | |
|---|---|---|
| committer | 2012-03-19 01:43:21 +0100 | |
| commit | 294cf69b256419e407b1eac04634752412ee7756 (patch) | |
| tree | aad873d07fca6e69547aa2609a645531fab44ddd /src | |
| parent | abf7eaa91e2ece0f461c71d3dcc0b2900c199209 (diff) | |
| download | libimobiledevice-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.c | 1 | ||||
| -rw-r--r-- | src/afc.h | 1 | ||||
| -rw-r--r-- | src/property_list_service.c | 1 |
3 files changed, 3 insertions, 0 deletions
| @@ -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 */ |
| 35 | static const int MAXIMUM_PACKET_SIZE = (2 << 15); | 36 | static const int MAXIMUM_PACKET_SIZE = (2 << 15); |
| @@ -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. |
