mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +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
|
@ -1,3 +1,8 @@
|
|||
2012-04-22 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Source/GSString.m
|
||||
Do not include malloc on OpenBSD to avoid warning.
|
||||
|
||||
2012-04-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Tools/pl2link.m (main): Get the category from a new entry named
|
||||
|
|
|
@ -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…
Reference in a new issue