diff runtime/internal/critical.c @ 637:29dc68c949b0

Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :)
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Thu, 02 Oct 2008 03:25:46 +0200
parents 394e72cbbb46
children aa953cc960b6
line wrap: on
line diff
--- a/runtime/internal/critical.c	Thu Oct 02 01:42:21 2008 +0200
+++ b/runtime/internal/critical.c	Thu Oct 02 03:25:46 2008 +0200
@@ -75,7 +75,7 @@
 
 /* ================================= linux ============================ */
 
-#if linux || __APPLE__
+#if linux || __APPLE__ || __FreeBSD__
 
 #include	<stdio.h>
 #include	<stdlib.h>