use unsigned char' instead of u_int8_t' to avoid having to have that

definition.  this is the easy way out instead of getting the
definition here where it's needed.  flame me.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7266 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-10-28 20:04:03 +00:00
parent cc8a1f9d78
commit 4051f1f306

View File

@@ -441,7 +441,7 @@ typedef unsigned short sa_family_t;
#if HAVE_STRUCT_SOCKADDR_SA_LEN #if HAVE_STRUCT_SOCKADDR_SA_LEN
struct sockaddr_storage { struct sockaddr_storage {
u_int8_t __ss_len; unsigned char __ss_len;
sa_family_t __ss_family; sa_family_t __ss_family;
char pad[ char pad[
#ifdef HAVE_IPV6 #ifdef HAVE_IPV6
@@ -449,7 +449,7 @@ struct sockaddr_storage {
#else #else
sizeof(struct sockaddr_in) sizeof(struct sockaddr_in)
#endif #endif
- sizeof(u_int8_t) - sizeof(sa_family_t)]; - sizeof(unsigned char) - sizeof(sa_family_t)];
}; };
#else #else