Remove relative includes for 3rdparty imports (#7609)

This also changes the imports for config, custom to use the src include path
This commit is contained in:
Vincent Stumpf
2023-03-07 16:21:28 -08:00
committed by GitHub
parent 1b1164f91d
commit 8f4a1d2932
22 changed files with 92 additions and 90 deletions

View File

@@ -15,7 +15,7 @@
#include <stdlib.h> // atoi, strtol, strtoll, exit
#ifdef PCRE_SUPPORT
#include "../../3rdparty/pcre/include/pcre.h" // preg_match
#include <pcre.h> // preg_match
#endif
#include <common/cbasetypes.hpp>
@@ -26914,7 +26914,7 @@ BUILDIN_FUNC(macro_detector) {
return SCRIPT_CMD_SUCCESS;
}
#include "../custom/script.inc"
#include <custom/script.inc>
// declarations that were supposed to be exported from npc_chat.cpp
#ifdef PCRE_SUPPORT
@@ -27670,7 +27670,7 @@ struct script_function buildin_func[] = {
BUILDIN_DEF(isdead, "?"),
BUILDIN_DEF(macro_detector, "?"),
#include "../custom/script_def.inc"
#include <custom/script_def.inc>
{NULL,NULL,NULL},
};