summaryrefslogtreecommitdiff
path: root/audio/cam/patches/patch-ab
blob: b9dfba9d15c35c5339d84087d2f5cc4c9b66274c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ab,v 1.4 1999/07/06 07:54:06 jlam Exp $

diff -ru ../cam-1.02-virgin/cam.h ./cam.h
--- ../cam-1.02-virgin/cam.h	Mon Oct 21 13:08:08 1996
+++ ./cam.h	Sun Nov 10 12:19:52 1996
@@ -23,7 +23,13 @@
 #include <stdio.h>
 #include <ncurses.h>
 #include <signal.h>
+#if defined(__FreeBSD__)
+#include <machine/soundcard.h>
+#elif defined(__NetBSD__)
+#include <soundcard.h>
+#else
 #include <sys/soundcard.h> 
+#endif
 #include <fcntl.h>
 
 #include "sounds.h"