summaryrefslogtreecommitdiff
path: root/regress/lib/libsndio/fd
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libsndio/fd')
-rw-r--r--regress/lib/libsndio/fd/Makefile3
-rw-r--r--regress/lib/libsndio/fd/fd.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libsndio/fd/Makefile b/regress/lib/libsndio/fd/Makefile
index ca36f9006ea..5127590e232 100644
--- a/regress/lib/libsndio/fd/Makefile
+++ b/regress/lib/libsndio/fd/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2010/11/06 20:25:42 ratchov Exp $
+# $OpenBSD: Makefile,v 1.3 2011/04/12 07:12:59 ratchov Exp $
PROG= fd
LDADD= -lsndio
+CFLAGS+= -I${.CURDIR}/..
SRCS = fd.c tools.c
REGRESS_SKIP=
.PATH: ${.CURDIR}/..
diff --git a/regress/lib/libsndio/fd/fd.c b/regress/lib/libsndio/fd/fd.c
index d25f32acdc2..5de203fe730 100644
--- a/regress/lib/libsndio/fd/fd.c
+++ b/regress/lib/libsndio/fd/fd.c
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sndio.h>
+#include "tools.h"
struct buf { /* simple circular fifo */
unsigned start; /* first used byte */