ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 11200] New: extcap/androiddump.c - Make it compile under F

Date: Fri, 15 May 2015 10:51:44 +0000
Bug ID 11200
Summary extcap/androiddump.c - Make it compile under FreeBSD
Product Wireshark
Version Git
Hardware x86
OS FreeBSD
Status UNCONFIRMED
Severity Normal
Priority Low
Component Extras
Assignee [email protected]
Reporter [email protected]

Build Information:
Current git version.
--
extcap/androiddump.c doesn't compile because it is missing the include for
netinet/in.h:

Earlier today I tried to figure out how this git stuff works to submit with
bugs, but without any luck. As such I do an old-fashioned patch, which
shouldn't be too difficult to decipher.

diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 783880f..eac9c10 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -32,6 +32,10 @@
 #include <errno.h>
 #include <time.h>

+#ifdef HAVE_NETINET_IN_H
+#    include <netinet/in.h>
+#endif
+
 #ifdef HAVE_UNISTD_H
     #include <unistd.h>
 #endif


Please consider committing this. My eternal thanks to the person dealing with
this.


You are receiving this mail because:
  • You are watching all bug changes.