Bug ID |
11199
|
Summary |
ui/mcast_stream.c: Add dependency on sys/time.h for struct timeval
|
Product |
Wireshark
|
Version |
Git
|
Hardware |
Other
|
OS |
FreeBSD
|
Status |
UNCONFIRMED
|
Severity |
Normal
|
Priority |
Low
|
Component |
GTK+ UI
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Build Information:
current git checkout
--
ui/mcast_stream.c doesn't compile on FreeBSD.
Issue: "struct timeval" is used, but sys/time.h isn't included.
Fix:
[~/wireshark-trunk/ui] edwin@t61>git diff
diff --git a/ui/mcast_stream.c b/ui/mcast_stream.c
index 1e77532..ac8df41 100644
--- a/ui/mcast_stream.c
+++ b/ui/mcast_stream.c
@@ -38,6 +38,7 @@
#include <stdlib.h>
#include <time.h>
#include <string.h>
+#include <sys/time.h>
#include "file.h"
I haven't been able to figure out how this git stuff works again, as such an
inline patch with an obvious fix instead of the proper way.
You are receiving this mail because:
- You are watching all bug changes.