summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/_mmap.c
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-06-28 02:12:09 +0000
committerDavid McCullough <davidm@snapgear.com>2001-06-28 02:12:09 +0000
commit572446c2c06ae715e33540251af65fb5ff26e92d (patch)
tree01d0cd9d2ec7ba2c2ead73352e6d94a9e3c1bd6f /libc/sysdeps/linux/sh/_mmap.c
parente53f70e1e1fc250c060d3432844fb222e32754b1 (diff)
downloaduClibc-alpine-572446c2c06ae715e33540251af65fb5ff26e92d.tar.bz2
uClibc-alpine-572446c2c06ae715e33540251af65fb5ff26e92d.tar.xz
sysdep.h was not providing all the needed bits to build working asm with
some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
Diffstat (limited to 'libc/sysdeps/linux/sh/_mmap.c')
-rw-r--r--libc/sysdeps/linux/sh/_mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/_mmap.c b/libc/sysdeps/linux/sh/_mmap.c
index 3b68e094d..70155b028 100644
--- a/libc/sysdeps/linux/sh/_mmap.c
+++ b/libc/sysdeps/linux/sh/_mmap.c
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/syscall.h>
#ifdef HIOS