LibC: Define MAXPATHLEN in sys/param.h
This file is not POSIX, but some software seems to rely on it
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef _SYS_PARAM_H
|
||||
#define _SYS_PARAM_H 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#define MAXPATHLEN PATH_MAX
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user