mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(main): use SOCKLEN_TYPE for fromlen, if it is defined.
This commit is contained in:
parent
db893d0032
commit
57b1f7206f
@ -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…
Reference in New Issue
Block a user