Minor include fixes to avoid malloc.h warnings on OpenBSD.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38691 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2015-06-26 08:50:17 +00:00
parent 4e57947e71
commit f4ed6b91c2
3 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2015-06-26 Riccardo Mottola <rm@gnu.org>
* Source/NSMethodSignature.m
* Source/cifframe.m
Minor include fixes to avoid malloc.h warnings on OpenBSD.
2015-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/Additions.h:

View file

@ -1,5 +1,5 @@
/** Implementation of NSMethodSignature for GNUStep
Copyright (C) 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
Copyright (C) 1994-2015 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
Date: August 1994
@ -42,8 +42,11 @@
#import "GSInvocation.h"
#ifdef HAVE_MALLOC_H
#if !defined(__OpenBSD__)
#include <malloc.h>
#endif
#endif
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif

View file

@ -1,6 +1,6 @@
/** cifframe.m - Wrapper/Objective-C interface for ffi function interface
Copyright (C) 1999, Free Software Foundation, Inc.
Copyright (C) 1999-2015 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@gnu.org>
Date: Dec 1999, rewritten Apr 2002
@ -30,8 +30,11 @@
#endif
#ifdef HAVE_MALLOC_H
#if !defined(__OpenBSD__)
#include <malloc.h>
#endif
#endif
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif