mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Do not include malloc on OpenBSD to avoid warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35104 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
63daf550ac
commit
f857c2928f
2 changed files with 9 additions and 0 deletions
|
@ -49,8 +49,12 @@
|
|||
#import "GSPrivate.h"
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#if defined(__OpenBSD__)
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue