---
 sys/sys/soundcard.h |    4 ++++
 1 file changed, 4 insertions(+)

--- a/sys/sys/soundcard.h
+++ b/sys/sys/soundcard.h
@@ -102,6 +102,10 @@
 #define SNDCARD_UART16550      27
 #define SNDCARD_OPL            28
 
+/* BSD types are need for the following includes */
+#define __USE_BSD
+#undef _SYS_TYPES_H
+
 #include <sys/types.h>
 #include <machine/endian.h>
 #ifndef _IOWR
