summaryrefslogtreecommitdiff
path: root/include/elf.h
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:22 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commite0b6a06c8fd8d1b2022e0175cfdcf99246b1e68f (patch)
tree064d4e61b67dfa504f877be9a367f297d037cdd2 /include/elf.h
parent11a52734e42237bac70a1f4a3ae2ef7e9f751bc4 (diff)
Add a few missing includes
elf.h needs __BYTE_ORDER, and s_scalbn.c needs {LONG,INT}_MAX. shm.c complains about no prototypes for shm_{open,unlink} without its header. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 288ffef78..0da4bf7a7 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -28,6 +28,7 @@ extern "C" {
/* Standard ELF types. */
#include <stdint.h>
+#include <endian.h>
/* Type for a 16-bit quantity. */
typedef uint16_t Elf32_Half;