--- pgsql/src/include/utils/int8.h.orig	Tue Jun  6 22:09:06 2000
+++ pgsql/src/include/utils/int8.h	Tue Jun  6 22:14:33 2000
@@ -24,6 +24,9 @@
 #ifndef INT8_H
 #define INT8_H
 
+/* BeOS already has int64 defined, so skip these... */
+#ifndef BEOS
+
 #ifdef HAVE_LONG_INT_64
 /* Plain "long int" fits, use it */
 typedef long int int64;
@@ -40,6 +43,10 @@
 #define INT64_IS_BUSTED
 #endif
 #endif
+
+#else /* Add BeOS support */
+#include <SupportDefs.h>
+#endif /* BEOS */
 
 /* this should be set in config.h: */
 #ifndef INT64_FORMAT
