Add limits.h header that defines PATH_MAX as this is not defined by the toolchain headers. The value of 256 for PATH_MAX is based on how it is set in lib/libc/minimal/include/limits.h. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
23 lines
352 B
C
23 lines
352 B
C
/*
|
|
* Copyright (c) 2023 Intel
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
|
|
#define ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
|
|
|
|
#include_next <limits.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define PATH_MAX 256
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_ */
|