lib/yajl: drop "yajl/" prefix from #include paths
According to the yajl API documentation, #include lines should have the "yajl/" path prefix, but the actual pkg-config file contains: includedir=${dollar}{prefix}/include/yajl .. which already contains this directory name, and thus the "yajl/" prefix cannot work. Unfortunately, the yajl project hasn't been maintained for nearly 10 years, and there's little chance this bug will ever be fixed.
This commit is contained in:
parent
79df6a646b
commit
615f6f50ce
|
@ -1,14 +1,13 @@
|
|||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef YAJL_CALLBACKS_HXX
|
||||
#define YAJL_CALLBACKS_HXX
|
||||
#pragma once
|
||||
|
||||
#include "util/Cast.hxx"
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include <yajl/yajl_parse.h>
|
||||
#include <yajl_parse.h>
|
||||
|
||||
namespace Yajl {
|
||||
|
||||
|
@ -59,5 +58,3 @@ struct CallbacksWrapper {
|
|||
};
|
||||
|
||||
} // namespace Yajl
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef YAJL_GEN_HXX
|
||||
#define YAJL_GEN_HXX
|
||||
#pragma once
|
||||
|
||||
#include <yajl/yajl_gen.h>
|
||||
#include <yajl_gen.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <span>
|
||||
|
@ -74,5 +73,3 @@ public:
|
|||
};
|
||||
|
||||
} // namespace Yajl
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef YAJL_HANDLE_HXX
|
||||
#define YAJL_HANDLE_HXX
|
||||
#pragma once
|
||||
|
||||
#include <yajl/yajl_parse.h>
|
||||
#include <yajl_parse.h>
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -56,5 +55,3 @@ private:
|
|||
};
|
||||
|
||||
} // namespace Yajl
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue