Remove including <cinttypes> from util.h

This commit is contained in:
Tim Wojtulewicz 2025-05-06 17:11:56 -07:00
parent 174bf09d77
commit e618d00326
17 changed files with 20 additions and 3 deletions

4
NEWS
View file

@ -11,6 +11,10 @@ We would like to thank ... for their contributions to this release.
Breaking Changes
----------------
- The code base underwent a big cleanup of #include usage, across almost all of the
files. We tested builds of all of the existing third-party packages and only noticed one
or two failures, but there is a possibility for breakage related to this cleanup.
New Functionality
-----------------

View file

@ -3,6 +3,7 @@
#include "zeek/DNS_Mapping.h"
#include <ares_nameser.h>
#include <cinttypes>
#include "zeek/DNS_Mgr.h"
#include "zeek/Reporter.h"

View file

@ -3,6 +3,7 @@
#pragma once
#include <algorithm>
#include <cinttypes>
#include <cmath>
#include <cstdint>
#include <fstream>

View file

@ -2,11 +2,10 @@
#include "zeek/Hash.h"
#include "zeek/zeek-config.h"
#include <highwayhash/highwayhash_target.h>
#include <highwayhash/instruction_sets.h>
#include <highwayhash/sip_hash.h>
#include <cinttypes>
#include "zeek/DebugLogger.h"
#include "zeek/Desc.h"

View file

@ -5,6 +5,7 @@
#include "zeek/zeek-config.h"
#include <algorithm>
#include <cinttypes>
#include <limits>
#include "zeek/Desc.h"

View file

@ -4,6 +4,7 @@
#include <sys/stat.h>
#include <algorithm>
#include <cinttypes>
#include <cstdio>
#include <cstring>
#include <fstream>

View file

@ -3,6 +3,7 @@
#include "zeek/SerializationFormat.h"
#include <cctype>
#include <cinttypes>
#include "zeek/DebugLogger.h"
#include "zeek/IPAddr.h"

View file

@ -2,6 +2,8 @@
#include "zeek/Tag.h"
#include <cinttypes>
#include "zeek/Val.h"
namespace zeek {

View file

@ -4,6 +4,7 @@
#include "zeek/zeek-config.h"
#include <cinttypes>
#include <list>
#include <map>
#include <string>

View file

@ -3,6 +3,7 @@
#include "zeek/zeek-config.h"
#include <unistd.h>
#include <cinttypes>
#include "zeek/RunState.h"
#include "zeek/Stats.h"

View file

@ -83,6 +83,7 @@
%{
#include <cassert>
#include <cinttypes>
#include <cstdlib>
#include <cstring>
#include <set>

View file

@ -2,6 +2,7 @@
#include "zeek/probabilistic/BloomFilter.h"
#include <cinttypes>
#include <cmath>
#include <limits>

View file

@ -2,6 +2,7 @@
#include "zeek/probabilistic/CardinalityCounter.h"
#include <cinttypes>
#include <cmath>
#include <cstdint>
#include <utility>

View file

@ -3,6 +3,7 @@
#include "zeek/storage/backend/redis/Redis.h"
#include <algorithm>
#include <cinttypes>
#include "zeek/DebugLogger.h"
#include "zeek/Func.h"

View file

@ -5,6 +5,7 @@
#include "zeek/zeek-config.h"
#include <pthread.h>
#include <cinttypes>
#include <csignal>
#include "zeek/threading/Manager.h"

View file

@ -16,7 +16,6 @@
#include <libgen.h>
#include <unistd.h>
#include <cinttypes>
#include <cstdarg>
#include <cstdint>
#include <cstdio>

View file

@ -1,6 +1,7 @@
#include "Plugin.h"
#include <cinttypes>
#include <iostream>
#include "zeek/ID.h"