Now includes StorageDefs.h to get B_FILE_NAME_LENGTH, and defines MAX_SYM_LINKS
as SYMLINKS_MAX (limits.h). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@839 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
SubDir OBOS_TOP src kernel core fs ;
|
||||
|
||||
UsePublicHeaders storage ;
|
||||
|
||||
KernelStaticLibrary libfs :
|
||||
<$(SOURCE_GRIST)>bootfs.c
|
||||
<$(SOURCE_GRIST)>devfs.c
|
||||
|
||||
@@ -42,6 +42,9 @@
|
||||
#include <resource.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <StorageDefs.h>
|
||||
#include <fs_info.h>
|
||||
|
||||
#ifndef TRACE_VFS
|
||||
# define TRACE_VFS 0
|
||||
@@ -54,13 +57,7 @@
|
||||
# define FUNCTION(x) ;
|
||||
#endif
|
||||
|
||||
// ToDo: remove this and include StorageDefs.h once it's there...
|
||||
#ifndef B_FILE_NAME_LENGTH
|
||||
# define B_FILE_NAME_LENGTH 256
|
||||
#endif
|
||||
#include <fs_info.h>
|
||||
|
||||
#define MAX_SYM_LINKS 16
|
||||
#define MAX_SYM_LINKS SYMLINKS_MAX
|
||||
|
||||
// Passed in buffers from user-space shouldn't be in the kernel
|
||||
#define CHECK_USER_ADDRESS(x) \
|
||||
|
||||
Reference in New Issue
Block a user