Change spelling of u_char' to unsigned char' to avoid requiring

<sys/types.h> as a prerequisite.
This commit is contained in:
mike 2002-06-19 19:05:41 +00:00
parent 0aad4a7f96
commit f76392df57

View File

@ -49,7 +49,7 @@ typedef _BSD_SA_FAMILY_T_ sa_family_t;
* Definitions for UNIX IPC domain.
*/
struct sockaddr_un {
u_char sun_len; /* sockaddr len including null */
unsigned char sun_len; /* sockaddr len including null */
sa_family_t sun_family; /* AF_UNIX */
char sun_path[104]; /* path name (gag) */
};