diff options
-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 d9a106f0ea12..e544ed4e6180 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 634d37a0d906..385bff257b3a 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); |