aboutsummaryrefslogtreecommitdiffstats
path: root/nametoaddr.c
diff options
context:
space:
mode:
authorguy <guy>2005-04-20 10:37:32 +0000
committerguy <guy>2005-04-20 10:37:32 +0000
commit24c3633894e5d6f7bc38dc71827991720788be09 (patch)
tree5d86d2dfd7809a8053e3eca66b1012a5bf48ab13 /nametoaddr.c
parent97a8e5112d9f004bec63db30c42e16a96e0aab0b (diff)
<string.h> is the ANSI C standard header file to include for various
routines, including malloc() and company - and for string routines used in this file, which aren't necessarily declared in <memory.h>, so include <string.h>.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index c6e74a0..caaa459 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.78 2005-04-19 04:25:01 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.79 2005-04-20 10:37:32 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -74,7 +74,7 @@ struct rtentry; /* declarations in <net/if.h> */
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
-#include <memory.h>
+#include <string.h>
#include <stdio.h>
#include "pcap-int.h"