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 12881] New: WIFEXITED WEXITSTATUS are not defined without

Date: Mon, 12 Sep 2016 09:23:07 +0000
Bug ID 12881
Summary WIFEXITED WEXITSTATUS are not defined without <sys/wait.h>
Product Wireshark
Version 2.2.0
Hardware x86
OS Solaris
Status UNCONFIRMED
Severity Major
Priority Low
Component GTK+ UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Following commit wouldn't allow Wireshark build on Solaris:

https://fossies.org/diffs/wireshark/2.2.0rc1_vs_2.2.0rc2/extcap.c-diff.html

The issue can be fixed by following:

--- wireshark-2.2.0/extcap.c
+++ wireshark-2.2.0/extcap.c
@@ -35,6 +35,8 @@
 #else
 /* Include for unlink */
 #include <unistd.h>
+/* Include for WIFEXITED and WEXITSTATUS */
+#include <sys/wait.h>
 #endif

 #include <glib.h>


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