1/*
2 * Copyright (C) 2004, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1998, 1999, 2001  Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* $Id: bitypes.h,v 1.7 2008/11/14 02:54:35 tbox Exp $ */
19
20#ifndef __BIT_TYPES_DEFINED__
21#define __BIT_TYPES_DEFINED__
22
23	/*
24	 * Basic integral types.  Omit the typedef if
25	 * not possible for a machine/compiler combination.
26	 */
27
28#ifdef NEED_SOLARIS_BITTYPES
29	typedef /*signed*/ char            int8_t;
30	typedef short                     int16_t;
31	typedef int                       int32_t;
32#endif
33	typedef unsigned char            u_int8_t;
34	typedef unsigned short          u_int16_t;
35	typedef unsigned int            u_int32_t;
36
37#endif	/* __BIT_TYPES_DEFINED__ */
38