opnsense-ports/audio/fcplay/files/patch-AudioDriver.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
709 B
C

--- AudioDriver.h.orig Mon Mar 3 21:47:00 1997
+++ AudioDriver.h Sun May 18 11:12:48 2003
@@ -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