summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-04-13 16:05:51 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-04-13 16:05:51 +0000
commit9ff60d25b0d62b7a9c3aebecaf85050bb5869187 (patch)
tree591386ca3dc47778c385a3a65d79748081c724e6 /lib/libsndio
parent376b52f0e373d5c2776924780c91390877383784 (diff)
protypes in sndio.h make reference to struct pollfd; applications
that don't use sys/poll.h, wont compile with gcc2. Fix this by declaring the pollfd structure spotted by and ok deraadt
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/sndio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libsndio/sndio.h b/lib/libsndio/sndio.h
index 27c6c599dd7..8a5295e19e6 100644
--- a/lib/libsndio/sndio.h
+++ b/lib/libsndio/sndio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sndio.h,v 1.7 2009/02/03 19:44:58 ratchov Exp $ */
+/* $OpenBSD: sndio.h,v 1.8 2009/04/13 16:05:50 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -122,6 +122,8 @@ struct sio_cap {
extern "C" {
#endif
+struct pollfd;
+
int sio_strtoenc(struct sio_par *, char *);
int sio_enctostr(struct sio_par *, char *);
void sio_initpar(struct sio_par *);