Fix building Haiku from Haiku
* Always include cdefs.h to have __[BEGIN|END]_DECLS defined. Somehow, this didn't affect cross-build, but it made building from Haiku fail.
This commit is contained in:
@@ -8,19 +8,18 @@
|
|||||||
#define _FILE_SYSTEMS_QUERY_PARSER_UTILS_H
|
#define _FILE_SYSTEMS_QUERY_PARSER_UTILS_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
#ifdef FS_SHELL
|
#ifdef FS_SHELL
|
||||||
# include <new>
|
# include <new>
|
||||||
|
|
||||||
# include "fssh_api_wrapper.h"
|
# include "fssh_api_wrapper.h"
|
||||||
# include "fssh_auto_deleter.h"
|
# include "fssh_auto_deleter.h"
|
||||||
#else
|
#else
|
||||||
# include <sys/cdefs.h>
|
|
||||||
|
|
||||||
# include <SupportDefs.h>
|
# include <SupportDefs.h>
|
||||||
#endif // !FS_SHELL
|
#endif // !FS_SHELL
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace QueryParser {
|
namespace QueryParser {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user