diff options
| author | Erik Andersen <andersen@codepoet.org> | 2000-05-14 04:19:43 +0000 | 
|---|---|---|
| committer | Erik Andersen <andersen@codepoet.org> | 2000-05-14 04:19:43 +0000 | 
| commit | e9efa23ae121c8976e5dc2bbcf29e029b5087e76 (patch) | |
| tree | 55c9bdfec6626bdcb4fa81548a6177b28d8ee223 /include/syscall.h | |
| parent | 64bc6412188b141c010ac3b8e813b837dd991e80 (diff) | |
| download | uClibc-alpine-e9efa23ae121c8976e5dc2bbcf29e029b5087e76.tar.bz2 uClibc-alpine-e9efa23ae121c8976e5dc2bbcf29e029b5087e76.tar.xz  | |
Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>0_9_1a
to allow uC-libc to compile under x86.
 -Erik
Diffstat (limited to 'include/syscall.h')
| -rw-r--r-- | include/syscall.h | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/include/syscall.h b/include/syscall.h index fa08654a3..332b7dd4a 100644 --- a/include/syscall.h +++ b/include/syscall.h @@ -1,6 +1,12 @@ +#if 0  #include <errno.h> - +#endif  #define __check_errno(__res)    ((__res) >= 0) +#ifdef __mc68000__  #include <m68k/syscall.h> +#else +#include <i386/syscall.h> +#endif +  #include <sys/syscall.h>  | 
