+2007-02-06 Martin Mares <mj@ucw.cz>
+
+ * lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
+ integer types.
+
2007-02-04 Martin Mares <mj@ucw.cz>
* lspci.c: alloca() needs <alloca.h>.
/*
* The PCI Library -- Types and Format Strings
*
- * Copyright (c) 1997--2005 Martin Mares <mj@ucw.cz>
+ * Copyright (c) 1997--2007 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
typedef unsigned __int8 u8;
typedef unsigned __int16 u16;
typedef unsigned __int32 u32;
+#elif defined(PCI_HAVE_STDINT_H)
+#include <stdint.h>
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
#else
typedef u_int8_t u8;
typedef u_int16_t u16;