gnats-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to gnats/libiberty/objalloc.c


From: Milan Zamazal
Subject: Changes to gnats/libiberty/objalloc.c
Date: Mon, 10 Dec 2001 18:04:29 -0500

Index: gnats/libiberty/objalloc.c
diff -c gnats/libiberty/objalloc.c:1.2 gnats/libiberty/objalloc.c:1.3
*** gnats/libiberty/objalloc.c:1.2      Tue Oct 26 03:10:16 1999
--- gnats/libiberty/objalloc.c  Mon Dec 10 18:03:26 2001
***************
*** 18,23 ****
--- 18,25 ----
  Boston, MA 02111-1307, USA.  */
  
  #include "ansidecl.h"
+ #include "config.h"
+ 
  #include "objalloc.h"
  
  /* Get a definition for NULL.  */
***************
*** 33,41 ****
--- 35,48 ----
  #include <stddef.h>
  #endif
  
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #else
  /* For systems with larger pointers than ints, this must be declared.  */
  extern PTR malloc PARAMS ((size_t));
  extern void free PARAMS ((PTR));
+ #endif
+ 
  #endif
  
  /* These routines allocate space for an object.  Freeing allocated



reply via email to

[Prev in Thread] Current Thread [Next in Thread]