summaryrefslogtreecommitdiff
path: root/print-mpls.c
diff options
context:
space:
mode:
authorguy <guy>2001-06-26 06:24:57 +0000
committerguy <guy>2001-06-26 06:24:57 +0000
commit442abdb79c13b07a32d2c54a1a722ab841235a83 (patch)
treee6ef24b149caf17ecfd32250cf7e57f9a17df22b /print-mpls.c
parente4b93879cf7649db0114ff8740c27a9b1dd64ff4 (diff)
downloadtcpdump-442abdb79c13b07a32d2c54a1a722ab841235a83.tar.gz
Include <netinet/in.h> to declare or define "ntohl()".
Diffstat (limited to 'print-mpls.c')
-rw-r--r--print-mpls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/print-mpls.c b/print-mpls.c
index 69afa17f..c579dd79 100644
--- a/print-mpls.c
+++ b/print-mpls.c
@@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.1 2001-06-21 17:56:04 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.2 2001-06-26 06:24:57 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -39,6 +39,8 @@ static const char rcsid[] =
#include <sys/time.h>
#include <sys/socket.h>
+#include <netinet/in.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>