diff options
Diffstat (limited to 'lib/plp_inttypes.h')
-rw-r--r-- | lib/plp_inttypes.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/plp_inttypes.h b/lib/plp_inttypes.h new file mode 100644 index 0000000..acfa7b8 --- /dev/null +++ b/lib/plp_inttypes.h @@ -0,0 +1,26 @@ +#ifndef _INTTYPES_H_ +#define _INTTYPES_H_ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <sys/types.h> + +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif + +#ifdef HAVE_SYS_INT_TYPES_H +#include <sys/int_types.h> +#endif + +#ifndef GNU_INTTYPES +typedef uint8_t u_int8_t; +typedef uint16_t u_int16_t; +typedef uint32_t u_int32_t; +typedef uint64_t u_int64_t; +typedef int64_t s_int64_t; +#endif // GNU_INTTYPES + +#endif // _INTTYPES_H_ |