summaryrefslogtreecommitdiff
path: root/games/xgalaga/patches/patch-ac
blob: 3a2277042d6a212155d63b4df7d29fb9ab957876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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>