Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libpcap/dist don't forget to include config.h o...



details:   https://anonhg.NetBSD.org/src/rev/006610baf975
branches:  trunk
changeset: 807325:006610baf975
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 05 22:36:36 2015 +0000

description:
don't forget to include config.h otherwise it thinks we don't have vnsnprintf
and fortify compiles fail.

diffstat:

 external/bsd/libpcap/dist/scanner.l |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 271c2624bb11 -r 006610baf975 external/bsd/libpcap/dist/scanner.l
--- a/external/bsd/libpcap/dist/scanner.l       Sun Apr 05 20:41:05 2015 +0000
+++ b/external/bsd/libpcap/dist/scanner.l       Sun Apr 05 22:36:36 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scanner.l,v 1.7 2015/03/31 21:39:42 christos Exp $     */
+/*     $NetBSD: scanner.l,v 1.8 2015/04/05 22:36:36 christos Exp $     */
 
 %{
 /*
@@ -22,8 +22,9 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: scanner.l,v 1.7 2015/03/31 21:39:42 christos Exp $");
+__RCSID("$NetBSD: scanner.l,v 1.8 2015/04/05 22:36:36 christos Exp $");
 
+#include "config.h"
 #ifdef WIN32
 #include <pcap-stdinc.h>
 #else /* WIN32 */



Home | Main Index | Thread Index | Old Index