diff options
| author | Ron <ron@debian.org> | 2009-06-27 04:44:22 +0930 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-07-09 01:35:31 -0700 |
| commit | 6c6e6c59b3682d4eda4fbbd52d021e7641a36217 (patch) | |
| tree | 70fc96a2af448e9f1870f52e7ad2db88cb09ba71 | |
| parent | 4dc09127f6782c77f3d92268d78a46f8a1a8492d (diff) | |
| download | uClibc-alpine-6c6e6c59b3682d4eda4fbbd52d021e7641a36217.tar.bz2 uClibc-alpine-6c6e6c59b3682d4eda4fbbd52d021e7641a36217.tar.xz | |
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>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| -rw-r--r-- | include/elf.h | 1 | ||||
| -rw-r--r-- | libm/s_scalbn.c | 1 | ||||
| -rw-r--r-- | librt/shm.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h index 0a58e0eec..ebb27a7ec 100644 --- a/include/elf.h +++ b/include/elf.h @@ -27,6 +27,7 @@ __BEGIN_DECLS /* Standard ELF types. */ #include <stdint.h> +#include <endian.h> /* Type for a 16-bit quantity. */ typedef uint16_t Elf32_Half; diff --git a/libm/s_scalbn.c b/libm/s_scalbn.c index c534467f8..47983b014 100644 --- a/libm/s_scalbn.c +++ b/libm/s_scalbn.c @@ -18,6 +18,7 @@ #include "math.h" #include "math_private.h" +#include <limits.h> static const double two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */ diff --git a/librt/shm.c b/librt/shm.c index c7c0ee461..f1ef0e708 100644 --- a/librt/shm.c +++ b/librt/shm.c @@ -6,6 +6,7 @@ #include <features.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/mman.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> |
