Include malloc.h ... needed on some systems for declaration of alloca()

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20770 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-02-21 14:33:43 +00:00
parent 3811228dc0
commit b6296dd27e
6 changed files with 28 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2005-02-21 14:30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m:
* Source/NSConnection.m:
* Source/callframe.m:
* Source/cifframe.m:
Include malloc.h for systems where it is needed for alloca()
M Source/mframe/mframe.head
2005-02-21 14:10 Stefan Urbanek <stefan@agentfarms.net>
* Source/NSAttributedString.m: Fix loop decoding from archive.

View file

@ -90,6 +90,9 @@ typedef gsu32 wint_t;
#ifdef HAVE_SYS_INTTYPES_H
#include <sys/inttypes.h>
#endif
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#ifndef HAVE_UINTMAX_T
typedef unsigned long long uintmax_t;
#endif

View file

@ -78,6 +78,10 @@
#include "Foundation/NSDebug.h"
#include "GSInvocation.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
extern NSRunLoop *GSRunLoopForThread(NSThread*);
#define F_LOCK(X) {NSDebugFLLog(@"GSConnection",@"Lock %@",X);[X lock];}

View file

@ -29,6 +29,10 @@
#include "Foundation/NSData.h"
#include "GSInvocation.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#if defined(ALPHA) || (defined(MIPS) && (_MIPS_SIM == _ABIN32))
typedef long long smallret_t;
#else

View file

@ -29,6 +29,10 @@
#include "Foundation/NSData.h"
#include "GSInvocation.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#if defined(ALPHA) || (defined(MIPS) && (_MIPS_SIM == _ABIN32))
typedef long long smallret_t;
#else

View file

@ -26,6 +26,10 @@
#include "GNUstepBase/preface.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include "GNUstepBase/DistributedObjects.h"
/* For NSArgumentInfo we include NSMethodSignature.h */