fssh_api_wrapper: fix build on non-Haiku.
* I'm not sure why strings.h needs to be included before <new>, but it wouldn't work otherwise.
This commit is contained in:
@@ -6,6 +6,10 @@
|
|||||||
#define _FSSH_API_WRAPPER_H
|
#define _FSSH_API_WRAPPER_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#include <new>
|
||||||
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "fssh_dirent.h"
|
#include "fssh_dirent.h"
|
||||||
|
|||||||
@@ -10,10 +10,6 @@
|
|||||||
#if FS_SHELL
|
#if FS_SHELL
|
||||||
# include "fssh_api_wrapper.h"
|
# include "fssh_api_wrapper.h"
|
||||||
|
|
||||||
# undef size_t
|
|
||||||
# include <new>
|
|
||||||
# define size_t fssh_size_t
|
|
||||||
|
|
||||||
# include "KOpenHashTable.h"
|
# include "KOpenHashTable.h"
|
||||||
# include "list.h"
|
# include "list.h"
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user