From 94db37a76d3809610fd1ba3e1960db3541768d48 Mon Sep 17 00:00:00 2001 From: vrokas Date: Tue, 6 Jan 2004 03:22:37 +0000 Subject: [PATCH] 2004-01-06 Vangelis Rokas * src/common.h: added ifndef/define/endif macros around the header file. Bug reported from Jesus Calvino-Fraga git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3084 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 6 ++++++ src/common.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3c08cc40..63f4d7a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-06 Vangelis Rokas + + * src/common.h: added ifndef/define/endif macros + around the header file. + Bug reported from Jesus Calvino-Fraga + 2004-01-06 Bernhard Held * sdcc.spec: updated diff --git a/src/common.h b/src/common.h index d12867b2..b39f380f 100644 --- a/src/common.h +++ b/src/common.h @@ -4,6 +4,10 @@ #include #include + +#ifndef COMMON_H +#define COMMON_H + #if defined(__APPLE__) && (__MACH__) #ifdef _G #undef _G @@ -36,3 +40,5 @@ #include "port.h" #include "newalloc.h" + +#endif -- 2.30.2