freebsd-ports/x11-clocks/emiclock/files/patch-include::sound.h
Motoyuki Konno 8d4724eed2 Fix build problem on 5-current.
<machine/soundcard.h> is moved to <sys/soundcard.h> on both 4-stable
and 5-current.  See commitlog of src/include/Makefile rev 1.165.
2002-04-11 00:22:33 +00:00

14 lines
374 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- include/sound.h.old Thu Sep 2 23:34:10 1999
+++ include/sound.h Thu Apr 11 08:32:05 2002
@@ -222,7 +222,11 @@
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
+#if __FreeBSD__ > 3
+#include <sys/soundcard.h>
+#else
#include <machine/soundcard.h>
+#endif
#undef O_RDWR
#define O_RDWR O_WRONLY /* audio $B%G%P%$%9$OF1;~%*!<%W%s$G$-$J$$!)(B */