summaryrefslogtreecommitdiff
path: root/emulators/frodo/files/patch-SID_linux.i
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/frodo/files/patch-SID_linux.i')
-rw-r--r--emulators/frodo/files/patch-SID_linux.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/frodo/files/patch-SID_linux.i b/emulators/frodo/files/patch-SID_linux.i
new file mode 100644
index 000000000000..b7ea9135a256
--- /dev/null
+++ b/emulators/frodo/files/patch-SID_linux.i
@@ -0,0 +1,15 @@
+--- 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 <machine/soundcard.h>
++#endif
+
+ #include "VIC.h"