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 {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#define __MATE_H_
|
#define __MATE_H_
|
||||||
|
|
||||||
#define WS_LOG_DOMAIN "MATE"
|
#define WS_LOG_DOMAIN "MATE"
|
||||||
|
#include <wireshark.h>
|
||||||
|
|
||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
|
|
|
@ -9,6 +9,12 @@
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
* 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 reentrant
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
%option noinput
|
%option noinput
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
%top {
|
%top {
|
||||||
/* Include this before everything else, for various large-file definitions */
|
/* Include this before everything else, for various large-file definitions */
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <wireshark.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue