--- libs/std/sys.c.orig 2009-06-19 00:08:19.000000000 +0900 +++ libs/std/sys.c 2009-06-19 00:11:42.000000000 +0900 @@ -35,7 +35,9 @@ # include # include # include +#ifndef __FreeBSD__ # include +#endif #endif #ifdef NEKO_MAC @@ -123,6 +125,9 @@ Set the locale for LC_TIME, returns true on success **/ static value set_time_locale( value l ) { +#ifdef __FreeBSD__ +#undef NEKO_POSIX +#endif #ifdef NEKO_POSIX locale_t lc, old; val_check(l,string);