From a1280223257e24cab643943ece1cd098ffd3cd3b Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Sat, 13 Jun 2015 16:06:19 +0200 Subject: [PATCH] Move Haiku and MacOS-specific includes into runtime.c; they're not used elsewhere --- chicken.h | 10 ---------- runtime.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/chicken.h b/chicken.h index aed9480..03d1839 100644 --- a/chicken.h +++ b/chicken.h @@ -3625,16 +3625,6 @@ C_inline char *C_realpath(const char *path, char *resolved) } #endif -/* For image_info retrieval */ -#if defined(__HAIKU__) -# include -#endif - -/* For _NSGetExecutablePath */ -#if defined(C_MACOSX) -# include -#endif - C_END_C_DECLS #endif /* ___CHICKEN */ diff --git a/runtime.c b/runtime.c index 0abe045..33c806d 100644 --- a/runtime.c +++ b/runtime.c @@ -106,6 +106,16 @@ static C_TLS int timezone; # include #endif +/* For image_info retrieval */ +#if defined(__HAIKU__) +# include +#endif + +/* For _NSGetExecutablePath */ +#if defined(C_MACOSX) +# include +#endif + #ifdef HAVE_CONFIG_H # ifdef PACKAGE # undef PACKAGE -- 2.1.4