GH-1079: Use full paths starting with zeek/ when including files

This commit is contained in:
Tim Wojtulewicz 2020-11-02 18:20:16 -07:00
parent 78fc5615a5
commit 96d9115360
640 changed files with 2708 additions and 2698 deletions

View file

@ -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;