aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth
diff options
context:
space:
mode:
authorMaksim Yevmenkin <emax@FreeBSD.org>2004-09-14 20:04:33 +0000
committerMaksim Yevmenkin <emax@FreeBSD.org>2004-09-14 20:04:33 +0000
commit8dc77a61630b5ad307a08068288c974d664413a2 (patch)
treea20e6d1793e10c3f1131ee484bb16a2a9e3d622a /usr.sbin/bluetooth
parent2eafd8b126bb72bf7062f1238922468ec863de94 (diff)
downloadsrc-8dc77a61630b5ad307a08068288c974d664413a2.tar.gz
src-8dc77a61630b5ad307a08068288c974d664413a2.zip
Add missing #include
Bump WARNS level to 2 PR: bin/71668 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 3 days
Notes
Notes: svn path=/head/; revision=135245
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r--usr.sbin/bluetooth/hcsecd/Makefile2
-rw-r--r--usr.sbin/bluetooth/hcsecd/parser.y1
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);