1199767fToomas Soome/*-
2199767fToomas Soome * Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org>
3199767fToomas Soome * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
4199767fToomas Soome * All rights reserved.
5199767fToomas Soome *
6199767fToomas Soome * Redistribution and use in source and binary forms, with or without
7199767fToomas Soome * modification, are permitted provided that the following conditions
8199767fToomas Soome * are met:
9199767fToomas Soome * 1. Redistributions of source code must retain the above copyright
10199767fToomas Soome *    notice, this list of conditions and the following disclaimer.
11199767fToomas Soome * 2. Redistributions in binary form must reproduce the above copyright
12199767fToomas Soome *    notice, this list of conditions and the following disclaimer in the
13199767fToomas Soome *    documentation and/or other materials provided with the distribution.
14199767fToomas Soome *
15199767fToomas Soome * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16199767fToomas Soome * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17199767fToomas Soome * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18199767fToomas Soome * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19199767fToomas Soome * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20199767fToomas Soome * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21199767fToomas Soome * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22199767fToomas Soome * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23199767fToomas Soome * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24199767fToomas Soome * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25199767fToomas Soome * SUCH DAMAGE.
26199767fToomas Soome *
27199767fToomas Soome * $FreeBSD$
28199767fToomas Soome */
29199767fToomas Soome
30199767fToomas Soome#ifndef _SYS__STDINT_H_
31199767fToomas Soome#define _SYS__STDINT_H_
32199767fToomas Soome
33199767fToomas Soome#ifndef _INT8_T_DECLARED
34199767fToomas Soometypedef	__int8_t		int8_t;
35199767fToomas Soome#define	_INT8_T_DECLARED
36199767fToomas Soome#endif
37199767fToomas Soome
38199767fToomas Soome#ifndef _INT16_T_DECLARED
39199767fToomas Soometypedef	__int16_t		int16_t;
40199767fToomas Soome#define	_INT16_T_DECLARED
41199767fToomas Soome#endif
42199767fToomas Soome
43199767fToomas Soome#ifndef _INT32_T_DECLARED
44199767fToomas Soometypedef	__int32_t		int32_t;
45199767fToomas Soome#define	_INT32_T_DECLARED
46199767fToomas Soome#endif
47199767fToomas Soome
48199767fToomas Soome#ifndef _INT64_T_DECLARED
49199767fToomas Soometypedef	__int64_t		int64_t;
50199767fToomas Soome#define	_INT64_T_DECLARED
51199767fToomas Soome#endif
52199767fToomas Soome
53199767fToomas Soome#ifndef _UINT8_T_DECLARED
54199767fToomas Soometypedef	__uint8_t		uint8_t;
55199767fToomas Soome#define	_UINT8_T_DECLARED
56199767fToomas Soome#endif
57199767fToomas Soome
58199767fToomas Soome#ifndef _UINT16_T_DECLARED
59199767fToomas Soometypedef	__uint16_t		uint16_t;
60199767fToomas Soome#define	_UINT16_T_DECLARED
61199767fToomas Soome#endif
62199767fToomas Soome
63199767fToomas Soome#ifndef _UINT32_T_DECLARED
64199767fToomas Soometypedef	__uint32_t		uint32_t;
65199767fToomas Soome#define	_UINT32_T_DECLARED
66199767fToomas Soome#endif
67199767fToomas Soome
68199767fToomas Soome#ifndef _UINT64_T_DECLARED
69199767fToomas Soometypedef	__uint64_t		uint64_t;
70199767fToomas Soome#define	_UINT64_T_DECLARED
71199767fToomas Soome#endif
72199767fToomas Soome
73199767fToomas Soome#ifndef _INTPTR_T_DECLARED
74199767fToomas Soometypedef	__intptr_t		intptr_t;
75199767fToomas Soome#define	_INTPTR_T_DECLARED
76199767fToomas Soome#endif
77199767fToomas Soome#ifndef _UINTPTR_T_DECLARED
78199767fToomas Soometypedef	__uintptr_t		uintptr_t;
79199767fToomas Soome#define	_UINTPTR_T_DECLARED
80199767fToomas Soome#endif
81199767fToomas Soome#ifndef _INTMAX_T_DECLARED
82199767fToomas Soometypedef	__intmax_t		intmax_t;
83199767fToomas Soome#define	_INTMAX_T_DECLARED
84199767fToomas Soome#endif
85199767fToomas Soome#ifndef _UINTMAX_T_DECLARED
86199767fToomas Soometypedef	__uintmax_t		uintmax_t;
87199767fToomas Soome#define	_UINTMAX_T_DECLARED
88199767fToomas Soome#endif
89199767fToomas Soome
90199767fToomas Soome#endif /* !_SYS__STDINT_H_ */
91