aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-10-17 13:17:47 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-22 06:41:44 +0000
commit1acae21bcdd024196b4fc875a433073274a3831b (patch)
tree2c94f109bb76c21a9dc0a9970d66cd5bf697c625 /plugins/epan
parent916b3ee06e5e29c2c26f28d35627a361daaa7beb (diff)
Windows: Fix warnings using flex
Fix some warnings complaining of macro redefinitions with stdint.h. Include stdint.h via wireshark.h everywhere so it stays fixed.
Diffstat (limited to 'plugins/epan')
-rw-r--r--plugins/epan/mate/mate.h1
-rw-r--r--plugins/epan/wimaxasncp/wimaxasncp_dict.l1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/epan/mate/mate.h b/plugins/epan/mate/mate.h
index 0a8786005f..095a098081 100644
--- a/plugins/epan/mate/mate.h
+++ b/plugins/epan/mate/mate.h
@@ -15,6 +15,7 @@
#define __MATE_H_
#define WS_LOG_DOMAIN "MATE"
+#include <wireshark.h>
#include <gmodule.h>
diff --git a/plugins/epan/wimaxasncp/wimaxasncp_dict.l b/plugins/epan/wimaxasncp/wimaxasncp_dict.l
index 68caa80b1f..883afbc020 100644
--- a/plugins/epan/wimaxasncp/wimaxasncp_dict.l
+++ b/plugins/epan/wimaxasncp/wimaxasncp_dict.l
@@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
+#include <wireshark.h>
}
/*