mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Reduce proliferation of including broker header files
This change should roughly halve compilation time
This commit is contained in:
parent
0907921178
commit
0ae022205e
3 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,8 @@
|
||||||
#include "Reporter.h"
|
#include "Reporter.h"
|
||||||
#include "IPAddr.h"
|
#include "IPAddr.h"
|
||||||
|
|
||||||
|
#include "broker/Data.h"
|
||||||
|
|
||||||
Val::Val(Func* f)
|
Val::Val(Func* f)
|
||||||
{
|
{
|
||||||
val.func_val = f;
|
val.func_val = f;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
// See the file "COPYING" in the main distribution directory for copyright.
|
// See the file "COPYING" in the main distribution directory for copyright.
|
||||||
|
|
||||||
|
#include <broker/data.hh>
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "threading/SerialTypes.h"
|
#include "threading/SerialTypes.h"
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,13 @@
|
||||||
#define LOGGING_WRITERBACKEND_H
|
#define LOGGING_WRITERBACKEND_H
|
||||||
|
|
||||||
#include "threading/MsgThread.h"
|
#include "threading/MsgThread.h"
|
||||||
#include "broker/Data.h"
|
|
||||||
|
|
||||||
#include "Component.h"
|
#include "Component.h"
|
||||||
|
|
||||||
class RemoteSerializer;
|
class RemoteSerializer;
|
||||||
|
|
||||||
|
namespace broker { class data; }
|
||||||
|
|
||||||
namespace logging {
|
namespace logging {
|
||||||
|
|
||||||
class WriterFrontend;
|
class WriterFrontend;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue