pkgsrc/games/xgalaga/patches/patch-ac
2001-09-10 01:03:28 +00:00

17 lines
446 B
Text

$NetBSD: patch-ac,v 1.1 2001/09/10 01:03:28 hubertf Exp $
--- xgal.sndsrv.linux.c.orig Fri Sep 7 14:33:57 2001
+++ xgal.sndsrv.linux.c
@@ -15,8 +15,12 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#ifdef __NetBSD__
+#include <soundcard.h>
+#else
#include <linux/soundcard.h>
/*#include "linux_pcsp.h" /* /usr/include/linux/pcsp.h */
+#endif
#include <sys/time.h>
#include <signal.h>
#include <string.h>