1/*- 2 * Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org> 3 * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 13 * documentation and/or other materials provided with the distribution. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * $FreeBSD$ 28 */ 29 30#ifndef _SYS__STDINT_H_ 31#define _SYS__STDINT_H_ 32 33#ifndef _INT8_T_DECLARED 34typedef __int8_t int8_t; 35#define _INT8_T_DECLARED 36#endif 37 38#ifndef _INT16_T_DECLARED 39typedef __int16_t int16_t; 40#define _INT16_T_DECLARED 41#endif 42 43#ifndef _INT32_T_DECLARED 44typedef __int32_t int32_t; 45#define _INT32_T_DECLARED 46#endif 47 48#ifndef _INT64_T_DECLARED 49typedef __int64_t int64_t; 50#define _INT64_T_DECLARED 51#endif 52 53#ifndef _UINT8_T_DECLARED 54typedef __uint8_t uint8_t; 55#define _UINT8_T_DECLARED 56#endif 57 58#ifndef _UINT16_T_DECLARED 59typedef __uint16_t uint16_t; 60#define _UINT16_T_DECLARED 61#endif 62 63#ifndef _UINT32_T_DECLARED 64typedef __uint32_t uint32_t; 65#define _UINT32_T_DECLARED 66#endif 67 68#ifndef _UINT64_T_DECLARED 69typedef __uint64_t uint64_t; 70#define _UINT64_T_DECLARED 71#endif 72 73#ifndef _INTPTR_T_DECLARED 74typedef __intptr_t intptr_t; 75#define _INTPTR_T_DECLARED 76#endif 77#ifndef _UINTPTR_T_DECLARED 78typedef __uintptr_t uintptr_t; 79#define _UINTPTR_T_DECLARED 80#endif 81#ifndef _INTMAX_T_DECLARED 82typedef __intmax_t intmax_t; 83#define _INTMAX_T_DECLARED 84#endif 85#ifndef _UINTMAX_T_DECLARED 86typedef __uintmax_t uintmax_t; 87#define _UINTMAX_T_DECLARED 88#endif 89 90#endif /* !_SYS__STDINT_H_ */ 91