diff options
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c index 02a0555c11..48d567c447 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -45,6 +45,10 @@ #include "emem.h" #include "charsets.h" +#ifdef NEED_G_ASCII_STRCASECMP_H +#include "g_ascii_strcasecmp.h" +#endif + #define SUBTREE_ONCE_ALLOCATION_NUMBER 8 #define SUBTREE_MAX_LEVELS 256 @@ -303,7 +307,7 @@ proto_compare_name(gconstpointer p1_arg, gconstpointer p2_arg) const protocol_t *p1 = p1_arg; const protocol_t *p2 = p2_arg; - return g_strcasecmp(p1->short_name, p2->short_name); + return g_ascii_strcasecmp(p1->short_name, p2->short_name); } |