(main): use SOCKLEN_TYPE for fromlen, if it is defined.
This commit is contained in:
parent
db893d0032
commit
57b1f7206f
1 changed files with 4 additions and 0 deletions
|
@ -206,7 +206,11 @@ main (argc, argv)
|
|||
{
|
||||
char system_name[32];
|
||||
int s, infd;
|
||||
#ifdef SOCKLEN_TYPE
|
||||
SOCKLEN_TYPE fromlen;
|
||||
#else
|
||||
size_t fromlen;
|
||||
#endif
|
||||
struct sockaddr_un server, fromunix;
|
||||
char *homedir;
|
||||
char *str, string[BUFSIZ], code[BUFSIZ];
|
||||
|
|
Loading…
Add table
Reference in a new issue