commit | 8b95404d001b285220ae7cbef661b0446a02858b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 18 13:42:59 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Oct 18 13:42:59 2012 -0700 |
tree | dec001e83c36b9e39c278975f28868398b863e35 | |
parent | ca7466d2b8ee6baad86afc82fa18cda4d931b6d3 [diff] |
Fixes x86 build. Change-Id: I0e576784b2224668d58ebea03986d534ee0e43b4
diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c index 94dc5b9..57e8249 100644 --- a/libc/tzcode/localtime.c +++ b/libc/tzcode/localtime.c
@@ -2241,7 +2241,7 @@ #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));