For BeOS PowerPC.  Chris Herborth.
diff --git a/acconfig.h b/acconfig.h
index 4270574..feddb31 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -20,6 +20,9 @@
 
 /* Used for BeOS configuration */
 #undef DL_EXPORT_HEADER
+#ifdef DL_EXPORT_HEADER
+#include DL_EXPORT_HEADER
+#endif
 
 /* Define if getpgrp() must be called as getpgrp(0). */
 #undef GETPGRP_HAVE_ARG
diff --git a/config.h.in b/config.h.in
index 0dc3f47..de22507 100644
--- a/config.h.in
+++ b/config.h.in
@@ -81,6 +81,9 @@
 
 /* Used for BeOS configuration */
 #undef DL_EXPORT_HEADER
+#ifdef DL_EXPORT_HEADER
+#include DL_EXPORT_HEADER
+#endif
 
 /* Define if getpgrp() must be called as getpgrp(0). */
 #undef GETPGRP_HAVE_ARG
diff --git a/configure b/configure
index 7442e30..3928dcf 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.101 
+# From configure.in Revision: 1.102 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13 
@@ -690,7 +690,7 @@
 
 		case $BE_HOST_CPU in
 		ppc)
-			CC="mwcc -I$PWD/BeOS"
+			CC="mwcc -I$PWD/BeOS -nodup"
 			without_gcc=yes
 			case `uname -r` in
 				4.0*) OPT="-DUSE_DL_EXPORT -O7 -opt schedule604 -export pragma" ;;
diff --git a/configure.in b/configure.in
index fbb7f02..2fc3d8e 100644
--- a/configure.in
+++ b/configure.in
@@ -118,7 +118,7 @@
 
 		case $BE_HOST_CPU in
 		ppc)
-			CC="mwcc -I$PWD/BeOS"
+			CC="mwcc -I$PWD/BeOS -nodup"
 			without_gcc=yes
 			case `uname -r` in
 				4.0*) OPT="-DUSE_DL_EXPORT -O7 -opt schedule604 -export pragma" ;;