1
0
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:
Richard M. Stallman 1997-08-14 04:16:00 +00:00
parent db893d0032
commit 57b1f7206f

View File

@ -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];