summaryrefslogtreecommitdiff
path: root/include/syscall.h
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-14 04:19:43 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-14 04:19:43 +0000
commite9efa23ae121c8976e5dc2bbcf29e029b5087e76 (patch)
tree55c9bdfec6626bdcb4fa81548a6177b28d8ee223 /include/syscall.h
parent64bc6412188b141c010ac3b8e813b837dd991e80 (diff)
Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>
to allow uC-libc to compile under x86. -Erik
Diffstat (limited to 'include/syscall.h')
-rw-r--r--include/syscall.h8
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>