diff options
author | Elliott Hughes <enh@google.com> | 2012-10-18 13:42:59 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-10-18 13:42:59 -0700 |
commit | 8b95404d001b285220ae7cbef661b0446a02858b (patch) | |
tree | dec001e83c36b9e39c278975f28868398b863e35 /libc/tzcode | |
parent | ca7466d2b8ee6baad86afc82fa18cda4d931b6d3 (diff) | |
download | bionic-8b95404d001b285220ae7cbef661b0446a02858b.zip bionic-8b95404d001b285220ae7cbef661b0446a02858b.tar.gz bionic-8b95404d001b285220ae7cbef661b0446a02858b.tar.bz2 |
Fixes x86 build.
Change-Id: I0e576784b2224668d58ebea03986d534ee0e43b4
Diffstat (limited to 'libc/tzcode')
-rw-r--r-- | libc/tzcode/localtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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)); |