aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-02-13 20:57:22 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-02-13 20:57:22 +0000
commit0ebc01dc03e38726e3d6fdffb30171eda3f8f80e (patch)
tree9b8f6907fd7e6bd7e99afd8632d22b61eed1452c /plugins
parent1ebd7feda946b60b3a1c9841d282bfb7bd6b3b86 (diff)
From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override the buggy g_strsplit() function when compiling for GTK1. Include this work-around function (ws_strsplit) in libwireshark.def. Add notes on usage to README.developer. Include epan/ws_strsplit.h in all files that use g_strsplit(). svn path=/trunk/; revision=20804
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mate/mate_grammar.lemon1
-rw-r--r--plugins/mate/mate_setup.c1
-rw-r--r--plugins/mate/mate_util.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon
index b575b49634..d57e109aac 100644
--- a/plugins/mate/mate_grammar.lemon
+++ b/plugins/mate/mate_grammar.lemon
@@ -28,6 +28,7 @@
#include "mate.h"
#include "mate_grammar.h"
+#include <epan/ws_strsplit.h>
#define DUMMY void*
diff --git a/plugins/mate/mate_setup.c b/plugins/mate/mate_setup.c
index f0fa63145c..c9146eee50 100644
--- a/plugins/mate/mate_setup.c
+++ b/plugins/mate/mate_setup.c
@@ -25,6 +25,7 @@
*/
#include "mate.h"
+#include <epan/ws_strsplit.h>
/* the current mate_config */
static mate_config* matecfg = NULL;
diff --git a/plugins/mate/mate_util.c b/plugins/mate/mate_util.c
index 7108c215e4..c93512dd31 100644
--- a/plugins/mate/mate_util.c
+++ b/plugins/mate/mate_util.c
@@ -28,6 +28,7 @@
#include "mate.h"
#include "mate_util.h"
#include <wiretap/file_util.h>
+#include <epan/ws_strsplit.h>
/***************************************************************************
* dbg_print