summaryrefslogtreecommitdiff
path: root/lib/libpcap
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-06 23:52:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-06 23:52:25 +0000
commit915f21c8c261897fc82a2814c62e344b1aa39843 (patch)
tree54ba76c718e88ec86f906df21cf3b81722ceaf55 /lib/libpcap
parent58f58b2eda4878fffccadb269c17fd90130f8b2d (diff)
#include string.h to get memset() prototype
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/scanner.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpcap/scanner.l b/lib/libpcap/scanner.l
index 77b7cdf6232..4e9288a409c 100644
--- a/lib/libpcap/scanner.l
+++ b/lib/libpcap/scanner.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scanner.l,v 1.10 2000/06/29 06:56:13 dugsong Exp $ */
+/* $OpenBSD: scanner.l,v 1.11 2001/07/06 23:52:24 millert Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -24,13 +24,14 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/lib/libpcap/scanner.l,v 1.10 2000/06/29 06:56:13 dugsong Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/lib/libpcap/scanner.l,v 1.11 2001/07/06 23:52:24 millert Exp $ (LBL)";
#endif
#include <sys/types.h>
#include <sys/time.h>
#include <ctype.h>
+#include <string.h>
#include <unistd.h>
#include "pcap-int.h"