oss: OpenBSD compile fix
authorJoris van Rooij <jorrizza@jrrzz.net>
Thu, 7 May 2009 15:10:19 +0000 (18:10 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 7 May 2009 15:10:19 +0000 (18:10 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/access/oss.c

index 61999f0..7ea6527 100644 (file)
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 
-#include <sys/soundcard.h>
+#ifdef HAVE_SYS_SOUNDCARD_H
+#  include <sys/soundcard.h>
+#endif
+#ifdef HAVE_SOUNDCARD_H
+#  include <soundcard.h>
+#endif
 
 #include <poll.h>