1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/emulators/frodo/files/patch-SID_linux.i
Dirk Meyer d5d85db1df - use real location for soundcard.h
(instead of symlink)
2004-11-30 10:46:07 +00:00

16 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"