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:
Riccardo Mottola 2012-04-22 19:00:27 +00:00
parent ad1fdfcb62
commit b02052b792
2 changed files with 9 additions and 0 deletions

View file

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

View file

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