allow for APPLE MACH compilation
[fw/sdcc] / support / cpp2 / hashtable.h
index 5b08fde25b630f7fcf8810f817bbe89ca9a29a30..b45d5912dbd03a0601b484ab8a6bdf6ad3960e5b 100644 (file)
@@ -18,7 +18,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #ifndef GCC_HASHTABLE_H
 #define GCC_HASHTABLE_H
 
+#if defined(__APPLE__) && defined(__MACH__)
+#include "libiberty/obstack.h"
+#else
 #include "obstack.h"
+#endif
 
 /* This is what each hash table entry points to.  It may be embedded
    deeply within another object.  */