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:
@@ -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},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user