Include and do not import pure-C header, guard against re-inclusion

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37949 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rmottola 2014-06-18 22:49:39 +00:00
parent ac7e035fad
commit 14cba490b3
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-06-19 Riccardo Mottola <rm@gnu.org>
* Source/common.h
Include and do not import pure-C header, guard against re-inclusion
2014-06-18 Riccardo Mottola <rm@gnu.org>
* Source/unix/NSStream.m

View file

@ -4,7 +4,10 @@
* might be from an earlier build.
*/
#import "config.h"
#ifndef COMMON_H
#define COMMON_H
#include "config.h"
#if defined(HAVE_STRING_H)
/* For POSIX strerror_r() and others
@ -82,3 +85,4 @@
# endif
#endif
#endif /* COMMON_H */