diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2011-04-12 07:13:00 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2011-04-12 07:13:00 +0000 |
commit | f33be7cee7a3239fa476d7566369325150398a25 (patch) | |
tree | 8f90d93b51d58aed3243e8a1bfc2c733d3fddfe1 /regress/lib/libsndio/rec | |
parent | 5e3cd7eb88849296448b34241253e98e1b04d099 (diff) |
add missing tools.h file
Diffstat (limited to 'regress/lib/libsndio/rec')
-rw-r--r-- | regress/lib/libsndio/rec/Makefile | 3 | ||||
-rw-r--r-- | regress/lib/libsndio/rec/rec.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libsndio/rec/Makefile b/regress/lib/libsndio/rec/Makefile index 2a5738e024e..16db5b4008a 100644 --- a/regress/lib/libsndio/rec/Makefile +++ b/regress/lib/libsndio/rec/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= rec LDADD= -lsndio +CFLAGS+= -I${.CURDIR}/.. SRCS = rec.c tools.c REGRESS_SKIP= .PATH: ${.CURDIR}/.. diff --git a/regress/lib/libsndio/rec/rec.c b/regress/lib/libsndio/rec/rec.c index f5c908077dc..862dc47f005 100644 --- a/regress/lib/libsndio/rec/rec.c +++ b/regress/lib/libsndio/rec/rec.c @@ -5,7 +5,8 @@ #include <string.h> #include <stdlib.h> #include <unistd.h> -#include "sndio.h" +#include <sndio.h> +#include "tools.h" #define BUFSZ 0x1000 unsigned char buf[BUFSZ]; |