From: Michael Starzinger Date: Tue, 3 Nov 2009 15:05:18 +0000 (+0100) Subject: * src/vm/os.cpp: System header checks are done in os.hpp, so no need to do X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=cacao.git;a=commitdiff_plain;h=f958881e2ef4001b958e42914440f8157abe3fb6 * src/vm/os.cpp: System header checks are done in os.hpp, so no need to do them here again. --- diff --git a/src/vm/os.cpp b/src/vm/os.cpp index 55241c617..b0becaafb 100644 --- a/src/vm/os.cpp +++ b/src/vm/os.cpp @@ -26,29 +26,6 @@ #include "config.h" -/* NOTE: In this file we check for all system headers, because we wrap - all system calls into functions for better portability. */ - -#if defined(HAVE_ERRNO_H) -# include -#endif - -#if defined(HAVE_STDINT_H) -# include -#endif - -#if defined(HAVE_STRING_H) -# include -#endif - -#if defined(HAVE_UNISTD_H) -# include -#endif - -#if defined(HAVE_SYS_MMAN_H) -# include -#endif - #if defined(__DARWIN__) # include # include @@ -60,6 +37,7 @@ #include "mm/memory.hpp" +#include "vm/os.hpp" #include "vm/vm.hpp"