* device/lib/Makefile.in: remove abspath for PORTDIR, introduced in
[fw/sdcc] / src / common.h
index 3d257086a8b89faa8c1dc4560ed32ea16370fb0c..d1a5b21fdbe97aacd770fea3da1e6cc6102d4a99 100644 (file)
@@ -4,9 +4,19 @@
 #include <string.h>
 #include <assert.h>
 
+
+#ifndef COMMON_H
+#define COMMON_H
+
+#if defined(__APPLE__) && (__MACH__)
+#ifdef _G
+#undef _G
+#endif
+#endif
+
 #include "SDCCglobl.h"
-#include "SDCCast.h"
 #include "SDCCmem.h"
+#include "SDCCast.h"
 #include "SDCCy.h"
 #include "SDCChasht.h"
 #include "SDCCbitv.h"
 #include "SDCCopt.h"
 #include "SDCCglue.h"
 #include "SDCCpeeph.h"
+#include "SDCCdebug.h"
+#include "SDCCutil.h"
+#include "SDCCasm.h"
 
-#include "asm.h"
 #include "port.h"
+
+#include "newalloc.h"
+
+#endif