summaryrefslogtreecommitdiff
path: root/d_size.h
blob: 2e2019e7c77c17d0ebd21d5b7e60ab9fa01967c7 (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
#ifndef __D_SIZE_H__
#define __D_SIZE_H__


#include "config.h"

#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#else
/* config.h defines {int,uint}*_t */
#endif /* HAVE_INTTYPES_H */
#endif /*HAVE_STDINT_H */

typedef unsigned char   uchar_t;
typedef unsigned short  ushort_t;
typedef unsigned long   ulong_t;
typedef unsigned int    uint_t;
typedef unsigned char   bool_t;


#endif /* __D_SIZE_H__ */