aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-02 11:18:50 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-02 21:02:10 +0000
commit6f373175396a06b8e1a91acec6031322d91ef9dd (patch)
tree1fe6dbe3ca8ba7a819f932d82321dc5f9df68729 /plugins/mate
parent2ec9093ed8a21737bfad150bc9daa6b3a6bb103b (diff)
Include config.h at the very beginning of all Flex scanners.
That way, if we #define anything for large file support, that's done before we include any system header files that either depend on that definition or that define it themselves if it's not already defined. Change-Id: I9b07344151103be337899dead44d6960715d6813 Reviewed-on: https://code.wireshark.org/review/19035 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'plugins/mate')
-rw-r--r--plugins/mate/mate_parser.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l
index 706900b839..b0b857ec2d 100644
--- a/plugins/mate/mate_parser.l
+++ b/plugins/mate/mate_parser.l
@@ -1,3 +1,8 @@
+%top {
+/* Include this before everything else, for various large-file definitions */
+#include "config.h"
+}
+
/*
* We want a reentrant scanner.
*/