aboutsummaryrefslogtreecommitdiffstats
path: root/lib/plp_inttypes.h
blob: acfa7b8f5d02bf142f5553762e3a9a18f8d00c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_