mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
bifcl: Include stdint.h early to prevent redefinition of int type macros
This commit is contained in:
parent
0c4676e835
commit
4ed4f3e1b8
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
%top{
|
||||
// Include stdint.h at the start of the generated file. Typically
|
||||
// MSVC will include this header later, after the definitions of
|
||||
// the integral type macros. MSVC then complains that about the
|
||||
// redefinition of the types. Including stdint.h early avoids this.
|
||||
#include <stdint.h>
|
||||
}
|
||||
|
||||
%{
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue