Subject: emacsclient crashes on 64-bit linux

From: Ahmon Dancy <[email-masked]>
Date: Fri, 11 Feb 2011 17:00:01 -0800

Emacsclient crashes with a segmentation fault on x86-64 linux.  I
don't recall the exact circumstances under which it occurs [has
something to do with using a TCP connection].  Anyway, I fixed it a
while back but never reported it directly to this mailing list. 

*** emacs-22.3/lib-src/emacsclient.c~	2007-02-16 09:12:59.000000000 -0800
--- emacs-22.3/lib-src/emacsclient.c	2009-03-05 15:42:53.000000000 -0800
***************
*** 48,53 ****
--- 48,54 ----
  
  # ifdef HAVE_INET_SOCKETS
  #  include <netinet/in.h>
+ #  include <arpa/inet.h>
  # endif
  
  # define INVALID_SOCKET -1