1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/emulators/frodo/files/patch-SID_linux.i
Dirk Meyer 8dba87b4b3 - let configure pick up sdl
- make portlint happier
2017-02-09 08:12:10 +00:00

17 lines
319 B
OpenEdge ABL

--- SID_linux.i.orig 2002-01-02 21:17:00 UTC
+++ SID_linux.i
@@ -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"