#ifndef __TYPES_H__ # define __TYPES_H__ #include #include // Define properly off_t type. # ifndef __off_t_defined typedef uint32_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 //FIXME: potential conflict with the real glibc(?) typedef int32_t pid_t; typedef int16_t mode_t; typedef uint16_t dev_t; typedef uint16_t umode_t; #endif /*__TYPES_H__*/