From 8ad734482988d1bd2fbed226ea5ec11fdcaea95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 10 Sep 2004 15:40:12 +0000 Subject: [PATCH] gensyscalls.cpp should now build under Linux again. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8902 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/gensyscalls/gensyscalls.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/tools/gensyscalls/gensyscalls.cpp b/src/tools/gensyscalls/gensyscalls.cpp index 482f5daefd..3a726233c7 100644 --- a/src/tools/gensyscalls/gensyscalls.cpp +++ b/src/tools/gensyscalls/gensyscalls.cpp @@ -4,12 +4,20 @@ #include #include #include +#include -#include "arch_cpu.h" +#include "arch_config.h" #include "gensyscalls.h" #include "gensyscalls_common.h" +// We can't use SupportDefs.h to maintain portability +typedef uint8_t uint8; +typedef uint16_t uint16; +typedef uint32_t uint32; +typedef uint64_t uint64; + + extern "C" gensyscall_syscall_info *gensyscall_get_infos(int *count); // usage