mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
GH-1079: Use full paths starting with zeek/ when including files
This commit is contained in:
parent
78fc5615a5
commit
96d9115360
640 changed files with 2708 additions and 2698 deletions
47
src/util.cc
47
src/util.cc
|
@ -1,9 +1,10 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "zeek-config.h"
|
||||
#include "util.h"
|
||||
#include "util-config.h"
|
||||
|
||||
#include "zeek/util.h"
|
||||
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
|
@ -39,28 +40,6 @@
|
|||
# include <malloc.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include "Desc.h"
|
||||
#include "Dict.h"
|
||||
#include "digest.h"
|
||||
#include "input.h"
|
||||
#include "Obj.h"
|
||||
#include "Val.h"
|
||||
#include "NetVar.h"
|
||||
#include "RunState.h"
|
||||
#include "Reporter.h"
|
||||
#include "iosource/Manager.h"
|
||||
#include "iosource/PktSrc.h"
|
||||
#include "ConvertUTF.h"
|
||||
#include "Hash.h"
|
||||
|
||||
#include "3rdparty/doctest.h"
|
||||
|
||||
#ifdef __linux__
|
||||
#if __has_include(<sys/random.h>)
|
||||
#define HAVE_GETRANDOM
|
||||
|
@ -68,6 +47,28 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include "zeek/3rdparty/doctest.h"
|
||||
|
||||
#include "zeek/Desc.h"
|
||||
#include "zeek/Dict.h"
|
||||
#include "zeek/digest.h"
|
||||
#include "zeek/input.h"
|
||||
#include "zeek/Obj.h"
|
||||
#include "zeek/Val.h"
|
||||
#include "zeek/NetVar.h"
|
||||
#include "zeek/RunState.h"
|
||||
#include "zeek/Reporter.h"
|
||||
#include "zeek/iosource/Manager.h"
|
||||
#include "zeek/iosource/PktSrc.h"
|
||||
#include "zeek/ConvertUTF.h"
|
||||
#include "zeek/Hash.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
extern const char* proc_status_file;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue