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.
This commit is contained in:
João Valverde 2021-10-17 13:17:47 +01:00 committed by Wireshark GitLab Utility
parent 916b3ee06e
commit 1acae21bcd
10 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
/*

View File

@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
/*

View File

@ -15,6 +15,7 @@
#define __MATE_H_
#define WS_LOG_DOMAIN "MATE"
#include <wireshark.h>
#include <gmodule.h>

View File

@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
/*

View File

@ -3,6 +3,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
/*

View File

@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
/*

View File

@ -12,6 +12,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
%option noyywrap

View File

@ -9,6 +9,12 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
%option reentrant
%option noyywrap
%option noinput

View File

@ -1,6 +1,7 @@
%top {
/* Include this before everything else, for various large-file definitions */
#include "config.h"
#include <wireshark.h>
}
/*