diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2001-11-30 19:35:22 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2001-11-30 19:35:22 +0000 |
commit | fcc0abe6cf90e463778a51beb61367b5e2bbadb3 (patch) | |
tree | ecbac458fd79f1296050a0940acf1e4c5c87974c /src/glu | |
parent | bce1689d5ba745d88cd2f56f7eebd61c43f68036 (diff) |
malloc() prototype is in stdlib.h for darwin
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/sgi/libtess/memalloc.h | 6 |
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> |