--- simgear/xgl/xglUtils.c.orig	Tue Jan 21 23:22:54 2003
+++ simgear/xgl/xglUtils.c	Tue Jan 21 23:24:28 2003
@@ -4,7 +4,7 @@
 #include <string.h>
 
 #if !defined( WIN32 )
-#  if !defined( HAVE_STL_SGI_PORT ) && !defined( __MWERKS__ ) && !defined( __APPLE__ )
+#  if !defined( HAVE_STL_SGI_PORT ) && !defined( __MWERKS__ ) && !defined( __APPLE__ ) && !defined( __FreeBSD__ )
 //   Avoid malloc with STLport and MSL
 #    include <malloc.h>
 #  endif
