#ifndef __SYS_TYPES_H__ # define __SYS_TYPES_H__ #ifdef __cplusplus extern "C" { #endif #include #include // Define properly off_t type. # ifndef __off_t_defined typedef int32_t off_t; # define __off_t_defined # endif // Define properly ssize_t type. #ifndef __ssize_t_defined typedef int32_t ssize_t; # define __ssize_t_defined #endif // Define alias typedef int32_t pid_t; typedef int16_t mode_t; typedef uint16_t dev_t; typedef uint16_t umode_t; typedef uint32_t ino_t; #ifdef __cplusplus } #endif #endif /*__SYS_TYPES_H__*/