041c4ba175
Konoha is a new scripting language that offers flexible scripting and static programming features. I have tested only on NetBSD/i386 6.99.10.
27 lines
602 B
C
27 lines
602 B
C
$NetBSD: patch-src_main_os.c,v 1.1 2012/08/07 16:06:06 ryoon Exp $
|
|
|
|
* Fix include order
|
|
|
|
--- src/main/os.c.orig 2012-03-07 06:52:15.000000000 +0000
|
|
+++ src/main/os.c
|
|
@@ -27,6 +27,11 @@
|
|
|
|
/* ************************************************************************ */
|
|
|
|
+#ifdef K_USING_POSIX_
|
|
+#include <sys/param.h>
|
|
+#include <sys/sysctl.h>
|
|
+#endif/*K_USING_POSIX_*/
|
|
+
|
|
#include"commons.h"
|
|
|
|
#ifdef K_USING_POSIX_
|
|
@@ -35,8 +40,6 @@
|
|
#include <dlfcn.h>
|
|
#include <time.h>
|
|
#include <sys/time.h>
|
|
-#include <sys/param.h>
|
|
-#include <sys/sysctl.h>
|
|
#ifdef K_USING_MACOSX_
|
|
#include <mach-o/dyld.h>
|
|
#endif
|