summaryrefslogtreecommitdiff
path: root/lib/libsndio/sio_sun.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-04-16 10:52:23 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-04-16 10:52:23 +0000
commit5d6db880853f46a8f3d2ae1d1da067766e9f05da (patch)
tree7f1c988fb37b220df3a3b08e1fb43d1e1e7917ab /lib/libsndio/sio_sun.c
parentbf35bb6dae41c97716f0b69c4725fb50e7b9b982 (diff)
Make aucat audio and midi backends share the same code to communicate
with the server. As we're at it use the same protocol for midi and audio. Now, both audio and midi code use the same SNDIO_DEBUG environment variable to turn on/off DPRINTF's.
Diffstat (limited to 'lib/libsndio/sio_sun.c')
-rw-r--r--lib/libsndio/sio_sun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsndio/sio_sun.c b/lib/libsndio/sio_sun.c
index 5399e698ed5..903db875c8c 100644
--- a/lib/libsndio/sio_sun.c
+++ b/lib/libsndio/sio_sun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio_sun.c,v 1.1 2011/04/08 11:18:07 ratchov Exp $ */
+/* $OpenBSD: sio_sun.c,v 1.2 2011/04/16 10:52:22 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -40,6 +40,7 @@
#include <string.h>
#include <unistd.h>
+#include "debug.h"
#include "sio_priv.h"
struct sio_sun_hdl {