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:
Julian Harnath 2014-07-13 15:35:31 +02:00
parent f9ecc54e69
commit 2e75b75292

View File

@ -8,19 +8,18 @@
#define _FILE_SYSTEMS_QUERY_PARSER_UTILS_H
#include <sys/cdefs.h>
#ifdef FS_SHELL
# include <new>
# include "fssh_api_wrapper.h"
# include "fssh_auto_deleter.h"
#else
# include <sys/cdefs.h>
# include <SupportDefs.h>
#endif // !FS_SHELL
namespace QueryParser {