Merge pull request #67 from znek/master

Guard inclusion of <malloc.h> as to not break FreeBSD
This commit is contained in:
Fred Kiefer 2019-08-16 21:06:41 +02:00 committed by GitHub
commit 8f0087b73d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -48,7 +48,9 @@
#include <execinfo.h>
#endif
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
typedef struct {
Class class;

View file

@ -53,7 +53,9 @@
#include <locale.h>
#endif
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#import "GSPThread.h"