forked from osmocom/wireshark
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:
parent
916b3ee06e
commit
1acae21bcd
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#define __MATE_H_
|
||||
|
||||
#define WS_LOG_DOMAIN "MATE"
|
||||
#include <wireshark.h>
|
||||
|
||||
#include <gmodule.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
%option noyywrap
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%top {
|
||||
/* Include this before everything else, for various large-file definitions */
|
||||
#include "config.h"
|
||||
#include <wireshark.h>
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue