summaryrefslogtreecommitdiffstats
path: root/sbin/devd
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-22 16:33:10 +0000
committerbapt <bapt@FreeBSD.org>2012-05-22 16:33:10 +0000
commit310ab6d7ff9b6ca4c8c1159bdd4eafd63aaf34ba (patch)
tree4d20581e8625e859c371cf627f8558e129ea0d06 /sbin/devd
parent3d5972e5d0c6e26393fc904ac9b0ae554e750b1f (diff)
downloadFreeBSD-src-310ab6d7ff9b6ca4c8c1159bdd4eafd63aaf34ba.zip
FreeBSD-src-310ab6d7ff9b6ca4c8c1159bdd4eafd63aaf34ba.tar.gz
Fix world after byacc import:
- old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor)
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/devd/parse.y b/sbin/devd/parse.y
index 28b8a90..6334b4e 100644
--- a/sbin/devd/parse.y
+++ b/sbin/devd/parse.y
@@ -29,6 +29,7 @@
* $FreeBSD$
*/
+#include <sys/cdefs.h>
#include "devd.h"
#include <stdio.h>
#include <string.h>
OpenPOWER on IntegriCloud