summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-atalk.c3
-rw-r--r--print-icmp.c3
-rw-r--r--timed.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/print-atalk.c b/print-atalk.c
index b5d162c7..2541237c 100644
--- a/print-atalk.c
+++ b/print-atalk.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.61 2000-10-06 04:23:10 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.62 2000-10-10 05:03:32 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -39,6 +39,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <netdb.h> /* for MAXHOSTNAMELEN on some platforms */
#include "interface.h"
#include "addrtoname.h"
diff --git a/print-icmp.c b/print-icmp.c
index 400ff7d1..fc835133 100644
--- a/print-icmp.c
+++ b/print-icmp.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.56 2000-10-05 04:10:02 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.57 2000-10-10 05:03:32 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -39,6 +39,7 @@ struct rtentry;
#include <stdio.h>
#include <string.h>
+#include <netdb.h> /* for MAXHOSTNAMELEN on some platforms */
#include "interface.h"
#include "addrtoname.h"
diff --git a/timed.h b/timed.h
index 7ff8293c..42f779c5 100644
--- a/timed.h
+++ b/timed.h
@@ -51,7 +51,7 @@ struct tsp {
struct timeval tspu_time;
char tspu_hopcnt;
} tsp_u;
- char tsp_name[MAXHOSTNAMELEN];
+ char tsp_name[256];
};
#define tsp_time tsp_u.tspu_time