]> git.eshelyaron.com Git - emacs.git/commitdiff
Port emacsclient to FreeBSD 11 etc.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Nov 2016 16:54:23 +0000 (08:54 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Nov 2016 16:54:51 +0000 (08:54 -0800)
* lib-src/emacsclient.c: Include <string.h>.  This is needed on
platforms like FreeBSD 11 that use code involving strlen etc., and
because <config.h> no longer includes string.h.

lib-src/emacsclient.c

index 59b6ac97a058e24fc90e3a301d9442335ebc42b1..2909d6392a7877a9338cf0641fcc15d408a10391 100644 (file)
@@ -75,6 +75,7 @@ char *w32_getenv (const char *);
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <getopt.h>
 #include <unistd.h>