Module Name:    src
Committed By:   joerg
Date:           Sun Jan  4 18:30:05 UTC 2015

Modified Files:
        src/usr.sbin/npf/npfctl: npf_parse.y

Log Message:
Don't depend on yacc to include stdlib.h or string.h.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/npf/npfctl/npf_parse.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/npf/npfctl/npf_parse.y
diff -u src/usr.sbin/npf/npfctl/npf_parse.y:1.36 src/usr.sbin/npf/npfctl/npf_parse.y:1.37
--- src/usr.sbin/npf/npfctl/npf_parse.y:1.36	Fri Dec 26 22:44:54 2014
+++ src/usr.sbin/npf/npfctl/npf_parse.y	Sun Jan  4 18:30:05 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: npf_parse.y,v 1.36 2014/12/26 22:44:54 christos Exp $	*/
+/*	$NetBSD: npf_parse.y,v 1.37 2015/01/04 18:30:05 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2011-2014 The NetBSD Foundation, Inc.
@@ -31,10 +31,12 @@
 
 %{
 
-#include <stdio.h>
 #include <err.h>
-#include <vis.h>
 #include <netdb.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <vis.h>
 
 #include "npfctl.h"
 

Reply via email to