freebsd-ports/graphics/mesagl/files/patch-si-glu::libtess::memalloc.h
Eric Anholt 16f5fd23d1 Oops, re-add these files for 5.0.1 which I had removed when working on updating
it to 5.0.2 (which I didn't do due to other errors).
2003-10-24 05:35:25 +00:00

14 lines
360 B
C

$FreeBSD$
--- si-glu/libtess/memalloc.h.orig Fri Nov 30 21:35:22 2001
+++ si-glu/libtess/memalloc.h Thu May 1 22:00:25 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>