opnsense-ports/emulators/frodo/files/patch-SID_linux.i
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

15 lines
365 B
OpenEdge ABL

--- SID_linux.i.orig 2002-01-02 21:17:00.000000000 +0000
+++ SID_linux.i 2004-11-27 15:54:36.000000000 +0000
@@ -8,7 +8,12 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <linux/soundcard.h>
+
+#if defined(__linux__)
+# include <linux/soundcard.h>
+#elif defined(__FreeBSD__)
+# include <sys/soundcard.h>
+#endif
#include "VIC.h"