aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
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 /text2pcap-scanner.l
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 'text2pcap-scanner.l')
-rw-r--r--text2pcap-scanner.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l
index 0a6d8566c1..f07edc2adf 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -3,6 +3,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
+#include <wireshark.h>
}
/*