summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-11-30 19:35:22 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-11-30 19:35:22 +0000
commitfcc0abe6cf90e463778a51beb61367b5e2bbadb3 (patch)
treeecbac458fd79f1296050a0940acf1e4c5c87974c /src/glu
parentbce1689d5ba745d88cd2f56f7eebd61c43f68036 (diff)
malloc() prototype is in stdlib.h for darwin
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libtess/memalloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glu/sgi/libtess/memalloc.h b/src/glu/sgi/libtess/memalloc.h
index d7b0ed41fb..4eb766e59a 100644
--- a/src/glu/sgi/libtess/memalloc.h
+++ b/src/glu/sgi/libtess/memalloc.h
@@ -35,14 +35,14 @@
/*
** Author: Eric Veach, July 1994.
**
-** $Date: 2001/07/20 11:20:32 $ $Revision: 1.2 $
-** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/memalloc.h,v 1.2 2001/07/20 11:20:32 joukj Exp $
+** $Date: 2001/11/30 19:35:22 $ $Revision: 1.3 $
+** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/memalloc.h,v 1.3 2001/11/30 19:35:22 kschultz Exp $
*/
#ifndef __memalloc_simple_h_
#define __memalloc_simple_h_
-#ifdef __VMS
+#if defined(__VMS) || defined(darwin)
# include <stdlib.h>
#else
# include <malloc.h>