diff options
Diffstat (limited to 'lib-src/emacsserver.c')
-rw-r--r-- | lib-src/emacsserver.c | 4 |
1 files changed, 4 insertions, 0 deletions
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]; |