diff options
author | emax <emax@FreeBSD.org> | 2004-09-14 20:04:33 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-09-14 20:04:33 +0000 |
commit | 6f238d1359f772cf41f29fe67e07964f52d3d231 (patch) | |
tree | a20e6d1793e10c3f1131ee484bb16a2a9e3d622a /usr.sbin/bluetooth/hcsecd | |
parent | e32c315aa757c4a2a64946f8bae894243e147542 (diff) | |
download | FreeBSD-src-6f238d1359f772cf41f29fe67e07964f52d3d231.zip FreeBSD-src-6f238d1359f772cf41f29fe67e07964f52d3d231.tar.gz |
Add missing #include
Bump WARNS level to 2
PR: bin/71668
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 3 days
Diffstat (limited to 'usr.sbin/bluetooth/hcsecd')
-rw-r--r-- | usr.sbin/bluetooth/hcsecd/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hcsecd/parser.y | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/hcsecd/Makefile b/usr.sbin/bluetooth/hcsecd/Makefile index d9a106f..e544ed4 100644 --- a/usr.sbin/bluetooth/hcsecd/Makefile +++ b/usr.sbin/bluetooth/hcsecd/Makefile @@ -4,7 +4,7 @@ PROG= hcsecd MAN= hcsecd.8 hcsecd.conf.5 SRCS= hcsecd.c lexer.l parser.y -WARNS?= 1 +WARNS?= 2 CFLAGS+= -I${.CURDIR} DPADD= ${LIBBLUETOOTH} diff --git a/usr.sbin/bluetooth/hcsecd/parser.y b/usr.sbin/bluetooth/hcsecd/parser.y index 634d37a..385bff2 100644 --- a/usr.sbin/bluetooth/hcsecd/parser.y +++ b/usr.sbin/bluetooth/hcsecd/parser.y @@ -39,6 +39,7 @@ #include <stdarg.h> #include <string.h> #include <syslog.h> +#include <unistd.h> #include "hcsecd.h" int yyparse (void); |