diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-14 04:16:00 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-14 04:16:00 +0000 |
commit | 8742aa53f4ffb5c4cea927d8232ab9c5da277242 (patch) | |
tree | 09437c1ac7bc12bd9aa9145ea94030416240d5d5 /lib-src | |
parent | 4e3b19135f0768c77b7e85fc4c25ae0813f59ada (diff) | |
download | emacs-8742aa53f4ffb5c4cea927d8232ab9c5da277242.tar.gz |
(main): use SOCKLEN_TYPE for fromlen, if it is defined.
Diffstat (limited to 'lib-src')
-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]; |