changeset 19344:1151154e9ba4

(main): use SOCKLEN_TYPE for fromlen, if it is defined.
author Richard M. Stallman <rms@gnu.org>
date Thu, 14 Aug 1997 04:16:00 +0000
parents 9427b0fcd9c1
children eaec3bec7dea
files lib-src/emacsserver.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsserver.c	Thu Aug 14 03:55:49 1997 +0000
+++ b/lib-src/emacsserver.c	Thu Aug 14 04:16:00 1997 +0000
@@ -206,7 +206,11 @@
 {
   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];