04/05/26 23:12.net
--- config.h.origMon May 12 17:25:10 2003
+++ config.hMon May 12 18:01:17 2003
@@ -186,6 +186,18 @@
#define AUDIO_BUFFER_SIZE (1<<AUDIO_BUFFER_BITS)
/* Byte order, defined in <machine/endian.h> for FreeBSD and DEC OSF/1 */
+#ifdef __FreeBSD__
+#include <machine/endian.h>
+
+# if BYTE_ORDER == LITTLE_ENDIAN
+# undef BIG_ENDIAN
+# elif BYTE_ORDER == BIG_ENDIAN
+# undef LITTLE_ENDIAN
+# else
+# error No byte sex defined
+# endif
+#endif
+
#ifdef DEC
#include <machine/endian.h>
#endif
@@ -358,4 +370,8 @@
#ifdef DEC
#include <errno.h>
#define PI 3.14159265358979323846
+#endif
+
+#ifdef __FreeBSD__
+#define PI 3.14159265358979323846
#endif