Author: rmottola
Date: Thu Jun 19 00:49:39 2014
New Revision: 37949

URL: http://svn.gna.org/viewcvs/gnustep?rev=37949&view=rev
Log:
Include and do not import pure-C header, guard against re-inclusion

Modified:
    libs/base/trunk/ChangeLog
    libs/base/trunk/Source/common.h

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=37949&r1=37948&r2=37949&view=diff
==============================================================================
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Thu Jun 19 00:49:39 2014
@@ -1,3 +1,8 @@
+2014-06-19 Riccardo Mottola <r...@gnu.org>
+
+       * Source/common.h
+       Include and do not import pure-C header, guard against re-inclusion
+
 2014-06-18 Riccardo Mottola <r...@gnu.org>
 
        * Source/unix/NSStream.m

Modified: libs/base/trunk/Source/common.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/common.h?rev=37949&r1=37948&r2=37949&view=diff
==============================================================================
--- libs/base/trunk/Source/common.h     (original)
+++ libs/base/trunk/Source/common.h     Thu Jun 19 00:49:39 2014
@@ -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 */


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to