diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index e8c5a9a6ffa942cd88655511df9cc269b693bed8..72869395ad19b3f1c95625b08a7388045275de48 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -16,6 +16,8 @@
 #ifndef false    
 #define bool char
 #endif   /* ndef bool */
+#else /* __BEOS__ */
+#include <SupportDefs.h>
 #endif /* __BEOS__ */
 
 #ifndef TRUE