mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38: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
17
src/util.h
17
src/util.h
|
@ -2,6 +2,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "zeek-config.h"
|
||||
|
||||
// Expose C99 functionality from inttypes.h, which would otherwise not be
|
||||
// available in C++.
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
|
@ -12,6 +14,12 @@
|
|||
#define __STDC_LIMIT_MACROS
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <libgen.h>
|
||||
|
||||
#include <cinttypes>
|
||||
#include <cstdint>
|
||||
|
||||
|
@ -19,15 +27,8 @@
|
|||
#include <string_view>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <libgen.h>
|
||||
#include <memory> // std::unique_ptr
|
||||
|
||||
#include "zeek-config.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -94,7 +95,7 @@ typedef int32_t ptr_compat_int [[deprecated("Remove in v4.1. Use std::intptr_t")
|
|||
|
||||
extern "C"
|
||||
{
|
||||
#include "modp_numtoa.h"
|
||||
#include "zeek/modp_numtoa.h"
|
||||
}
|
||||
|
||||
using bro_int_t = int64_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue