opnsense-ports/audio/fcplay/files/patch-AudioDriver.h
Franco Fichtner 6e79da282a */*: sync with upstream
Taken from: FreeBSD
2016-07-27 07:58:02 +02:00

20 lines
683 B
C

--- AudioDriver.h.orig 1997-03-03 21:47:00 UTC
+++ AudioDriver.h
@@ -7,14 +7,15 @@
#include <string.h>
#include <sys/ioctl.h>
#include <unistd.h>
+#include "Config.h"
// These next includes were not required if libsidplay would not
// provide related HAVE_* definitions.
#include <sidplay/compconf.h>
#if defined(HAVE_LINUX) && defined(HAVE_LINUX_SOUNDCARD_H)
#include <linux/soundcard.h>
-#elif defined(HAVE_FREEBSD) && defined(HAVE_MACHINE_SOUNDCARD_H)
- #include <machine/soundcard.h>
+#elif defined(HAVE_FREEBSD) && defined(HAVE_SYS_SOUNDCARD_H)
+ #include <sys/soundcard.h>
#elif defined(HAVE_NETBSD) && defined(HAVE_SOUNDCARD_H)
#include <soundcard.h>
#else