diff options
author | AndersBroman <anders.broman@ericsson.com> | 2017-03-02 12:34:35 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-03-02 11:37:50 +0000 |
commit | 2d0e4c37304031ac51d56d62deb672df5a4e5c3a (patch) | |
tree | 6cf8ea572bcc3898c49587c7bd951d2807b3acec | |
parent | e4dfeed2ca2491fa944dc9cd5180ec202313b5b6 (diff) | |
download | wireshark-2d0e4c37304031ac51d56d62deb672df5a4e5c3a.tar.gz |
include <wsutil/glib-compat.h> to allow use of g_list_free_full() with
older glibs.
Change-Id: I3eb7e178dcb844ddbac47f53f221a98e2d32f413
Reviewed-on: https://code.wireshark.org/review/20334
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/proto.c | 1 | ||||
-rw-r--r-- | ui/recent.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/epan/proto.c b/epan/proto.c index ed8217d629..f9b211caa5 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -57,6 +57,7 @@ #include <wsutil/plugins.h> #include <wsutil/ws_printf.h> /* ws_debug_printf/ws_g_warning */ +#include <wsutil/glib-compat.h> /* Ptvcursor limits */ #define SUBTREE_ONCE_ALLOCATION_NUMBER 8 diff --git a/ui/recent.c b/ui/recent.c index d1894e0ed8..42d6dc06ba 100644 --- a/ui/recent.c +++ b/ui/recent.c @@ -40,6 +40,7 @@ #include "ui/simple_dialog.h" #include <wsutil/file_util.h> +#include <wsutil/glib-compat.h> #define RECENT_KEY_MAIN_TOOLBAR_SHOW "gui.toolbar_main_show" #define RECENT_KEY_FILTER_TOOLBAR_SHOW "gui.filter_toolbar_show" |