From 8742aa53f4ffb5c4cea927d8232ab9c5da277242 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 14 Aug 1997 04:16:00 +0000 Subject: (main): use SOCKLEN_TYPE for fromlen, if it is defined. --- lib-src/emacsserver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index 9fbf3e86516..ad5285de453 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c @@ -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]; -- cgit v1.2.1