提交 01817703 编写于 作者: S steven_q

Solve compilation problems

Signed-off-by: Nqichanggui <qichanggui@huawei.com>

Change-Id: Id59b926645e4c47ac29a8d8dfe6067f322ee0233
上级 f4cd624b
......@@ -59,9 +59,10 @@
// __size_t is a macro defined in stddef.h, not a type, so we define a new type
typedef size_t __fts_size_t;
typedef uint64_t __dev_t;
#ifndef WITH_FREEBSD
typedef uint64_t __ino_t;
typedef uint64_t __nlink_t;
#endif
//
// From https://github.com/freebsd/freebsd-src/blob/e81e71b/sys/sys/stat.h
//
......@@ -158,7 +159,9 @@ typedef struct _ftsent {
FTS *fts_fts; /* back pointer to main FTS */
} FTSENT;
#ifndef WITH_FREEBSD
#include <sys/sys/cdefs.h>
#endif
__BEGIN_DECLS
FTSENT *fts_children(FTS *, int);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册