Guarded stdint.h inclusion

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30438 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-05-21 11:05:33 +00:00
parent b4c85fde93
commit 67dcff87fa
4 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2010-05-21 Riccardo Mottola <rmottola@users.sf.net>
* Source/inet_pton.c
Source/ObjectiveC2/runtime.h
Headers/Foundation/NSObjCRuntime.h:
Guarded stdint.h inclusion.
2010-05-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: GSObjCMethodNames() fix for

View file

@ -30,7 +30,11 @@
#define __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
#include <stdarg.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <limits.h>
#import <GNUstepBase/GSVersionMacros.h>

View file

@ -1,4 +1,7 @@
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stddef.h>
#include <sys/types.h>
#include "ObjectiveC2/Availability.h"

View file

@ -20,7 +20,10 @@
#include "config.h"
#include <ctype.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <sys/types.h>
#include <sys/param.h>
#include <errno.h>