aboutsummaryrefslogtreecommitdiffstats
path: root/libc/tzcode/localtime.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-10-18 13:56:02 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-18 13:56:02 -0700
commit4d71adbc0d12e5153f537f84cce8d9686762e5b9 (patch)
treef881ce665bbd4e4e8c07f2e84cd6bed471d2aa9d /libc/tzcode/localtime.c
parent79c6a8d2b163e40eb6f19bbf8f59eb85fb7996e6 (diff)
parent102250719f8aff443741e54ba5633c7722544620 (diff)
downloadandroid_bionic-4d71adbc0d12e5153f537f84cce8d9686762e5b9.tar.gz
android_bionic-4d71adbc0d12e5153f537f84cce8d9686762e5b9.tar.bz2
android_bionic-4d71adbc0d12e5153f537f84cce8d9686762e5b9.zip
am 10225071: Merge "Fixes x86 build."
* commit '102250719f8aff443741e54ba5633c7722544620': Fixes x86 build.
Diffstat (limited to 'libc/tzcode/localtime.c')
-rw-r--r--libc/tzcode/localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c
index c329e325b..97e4717ca 100644
--- a/libc/tzcode/localtime.c
+++ b/libc/tzcode/localtime.c
@@ -2194,7 +2194,7 @@ time_t t;
#endif /* defined STD_INSPIRED */
#include <stdint.h>
-#include <sys/endian.h>
+#include <arpa/inet.h> // For ntohl(3).
static int __bionic_open_tzdata(const char* olson_id, int* data_size) {
int fd = TEMP_FAILURE_RETRY(open(TZDATA_PATH, OPEN_MODE));