aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2017-05-03 22:56:55 +0100
committerAnders Broman <a.broman58@gmail.com>2017-05-04 03:45:07 +0000
commit8638eb91c78cd773b59636bc40642a0ae0e55409 (patch)
treece81df757f5798852edb3ab2513c3daf76d3f60d /wireshark-qt.cpp
parent0d5c98c4a6ee08faa8a747d631ab12db5e714e6e (diff)
Add g_get_monotonic_time() to glib-compat and use
Change-Id: If41dab19692516270e8b4bcf1a8a954bb8dc3ccc Reviewed-on: https://code.wireshark.org/review/21480 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index ed481d9..b7426dd 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -37,6 +37,10 @@
#include "wsutil/wsgetopt.h"
#endif
+#ifndef _WIN32
+#include <wsutil/glib-compat.h>
+#endif
+
#include <wsutil/clopts_common.h>
#include <wsutil/cmdarg_err.h>
#include <wsutil/crash_info.h>