ports/graphics/Mesa5/files/patch-si-glu::libtess::memalloc.h
Edwin Groothuis 9f4ca8c64c Port submission
Mesa is a 3-D graphics library with an API which is very
	similar to that of OpenGL*

PR:		ports/49948
Submitted by:	bobby <bobby3999@yahoo.com>
2003-10-06 03:39:43 +00:00

11 lines
348 B
C

--- si-glu/libtess/memalloc.h.orig Sun Oct 5 20:34:38 2003
+++ si-glu/libtess/memalloc.h Sun Oct 5 20:35:32 2003
@@ -42,7 +42,7 @@
#ifndef __memalloc_simple_h_
#define __memalloc_simple_h_
-#if defined(__VMS) || defined(darwin)
+#if defined(__VMS) || defined(darwin) || defined(__FreeBSD__)
# include <stdlib.h>
#else
# include <malloc.h>