openbsd-ports/audio/xmmix/patches/patch-appenv_h
naddy bfa330f604 Submitted by Dan Weeks <danimal@danimal.org>:
* md5->distinfo
* rename/update patches
* updated homepage and master_sites
* take over maintainership
2002-01-14 13:47:21 +00:00

18 lines
497 B
Plaintext

$OpenBSD: patch-appenv_h,v 1.1 2002/01/14 13:47:22 naddy Exp $
--- appenv.h.orig Sun Jul 14 19:48:59 1996
+++ appenv.h Mon Jan 14 14:41:27 2002
@@ -59,7 +59,13 @@ static char *_appenv_h_ident_ = "@(#)app
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+#include <soundcard.h>
+/* Ensure we SIGIO */
+#undef _POSIX_SOURCE
+#else
#include <sys/soundcard.h>
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>