Alias some types not known for Solaris

This commit is contained in:
Sanel Zukan 2009-11-12 12:50:25 +00:00
parent 17c1826356
commit 7442e41421

View File

@ -87,6 +87,12 @@
#define STR_ENDSTRING(line,tbl) \
((line)[0] == (tbl).str_delim && (line)[1] == '\n')
/* these types are BSD specific, but exists on Linux too */
#if defined(sun) || defined(__sun)
typedef unsigned int u_int32_t;
typedef unsigned char u_int8_t;
#endif
typedef struct { /* information table */
#define VERSION 2
u_int32_t str_version; /* version number */