summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 18:34:36 -0800
committerElliott Hughes <enh@google.com>2014-11-21 18:34:36 -0800
commitee369fb319cfb8f46ec6f2c7fbc102b60147da1b (patch)
treea7238bc60ae5304e7a940fd1b8168a6e4d8874f4 /libc/arch-x86_64
parent80838f190ad9454d1a9ebc2204cbfbbb22086f56 (diff)
downloadbionic-ee369fb319cfb8f46ec6f2c7fbc102b60147da1b.zip
bionic-ee369fb319cfb8f46ec6f2c7fbc102b60147da1b.tar.gz
bionic-ee369fb319cfb8f46ec6f2c7fbc102b60147da1b.tar.bz2
Bring our <machine/endian.h> files back in sync.
They'd drifted slightly which led to a compilation error in toybox, which was assuming pid_t was defined. arm and arm64 were picking it up via <endian.h> but x86 wasn't. Change-Id: I58401e6c0066959dfc3b305b020876aaf7074bbf
Diffstat (limited to 'libc/arch-x86_64')
-rw-r--r--libc/arch-x86_64/include/machine/endian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/arch-x86_64/include/machine/endian.h b/libc/arch-x86_64/include/machine/endian.h
index 7889a37..8a3b0c5 100644
--- a/libc/arch-x86_64/include/machine/endian.h
+++ b/libc/arch-x86_64/include/machine/endian.h
@@ -56,6 +56,7 @@
#endif /* __GNUC__ */
#define _BYTE_ORDER _LITTLE_ENDIAN
+#include <sys/types.h>
#include <sys/endian.h>
#endif /* _MACHINE_ENDIAN_H_ */