diff options
| author | Paul Eggert | 2016-11-08 08:54:23 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-11-08 08:54:51 -0800 |
| commit | 86baa208f84597068b3d55420eae0100a59e44b7 (patch) | |
| tree | 1b54cb9260b521519add6f3e4f03fbcb699c5a45 /lib-src | |
| parent | d3e22a1210e2a054f6f6aed44a3b98f6bbcd4546 (diff) | |
| download | emacs-86baa208f84597068b3d55420eae0100a59e44b7.tar.gz emacs-86baa208f84597068b3d55420eae0100a59e44b7.zip | |
Port emacsclient to FreeBSD 11 etc.
* 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.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 59b6ac97a05..2909d6392a7 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -75,6 +75,7 @@ char *w32_getenv (const char *); | |||
| 75 | #include <ctype.h> | 75 | #include <ctype.h> |
| 76 | #include <stdio.h> | 76 | #include <stdio.h> |
| 77 | #include <stdlib.h> | 77 | #include <stdlib.h> |
| 78 | #include <string.h> | ||
| 78 | #include <getopt.h> | 79 | #include <getopt.h> |
| 79 | #include <unistd.h> | 80 | #include <unistd.h> |
| 80 | 81 | ||