aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lbmc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-08 01:22:57 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-08 08:23:34 +0000
commitd3df2e588bc6febb5b2d414ad040ede903ef4c85 (patch)
tree994425e2302da966d623a4a3b68b5c63d62b8758 /epan/dissectors/packet-lbmc.c
parentabbdcd875048e9182ea8f3674c0a452e64095125 (diff)
On UN*X, <arpa/inet.h> suffices for struct in_addr and in_addr_t.
So don't pull in <netinet/in.h>. Also, avoid <sys/types.h> in packet-dcom.c. While we're at it, do *not* assume that pinfo->src or pinfo->dst are IPv4 addresses. Change-Id: I5fc8e859780a8d863aaf6e90a21a7039cabae0e6 Reviewed-on: https://code.wireshark.org/review/1006 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-lbmc.c')
-rw-r--r--epan/dissectors/packet-lbmc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-lbmc.c b/epan/dissectors/packet-lbmc.c
index 8afb3638c7..36b5318d5e 100644
--- a/epan/dissectors/packet-lbmc.c
+++ b/epan/dissectors/packet-lbmc.c
@@ -23,11 +23,6 @@
*/
#include "config.h"
-#if HAVE_NETINET_IN_H
- #include <netinet/in.h>
-#else
-typedef unsigned int in_addr_t;
-#endif
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>