1 /* 2 * Copyright (c) 2023 Synopsys. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef LIB_LIBC_ARCMWDT_INCLUDE_SYS_TYPES_H_ 8 #define LIB_LIBC_ARCMWDT_INCLUDE_SYS_TYPES_H_ 9 10 #include_next "sys/types.h" 11 12 #define _CLOCK_T_DECLARED 13 #define _CLOCKID_T_DECLARED 14 15 #define _DEV_T_DECLARED 16 #define _INO_T_DECLARED 17 #define _NLINK_T_DECLARED 18 #define _UID_T_DECLARED 19 #define _GID_T_DECLARED 20 21 #ifndef _SSIZE_T_DEFINED 22 #define _SSIZE_T_DEFINED 23 #ifdef CONFIG_64BIT 24 typedef long ssize_t; 25 #else /* CONFIG_64BIT */ 26 typedef int ssize_t; 27 #endif /* CONFIG_64BIT */ 28 #endif /* _SSIZE_T_DEFINED */ 29 30 #endif /* LIB_LIBC_ARCMWDT_INCLUDE_SYS_TYPES_H_ */ 31