mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Guard inclusion of <malloc.h> as to not break FreeBSD
This commit is contained in:
parent
587ef0ab32
commit
5bfbf62f06
3 changed files with 6 additions and 0 deletions
|
@ -31,7 +31,9 @@
|
|||
#import "GNUstepBase/NSDebug+GNUstepBase.h"
|
||||
#import "GNUstepBase/NSThread+GNUstepBase.h"
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
/* This file contains methods which nominally return an id but in fact
|
||||
* always rainse an exception and never return.
|
||||
|
|
|
@ -48,7 +48,9 @@
|
|||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
Class class;
|
||||
|
|
|
@ -53,7 +53,9 @@
|
|||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#import "GSPThread.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue