[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient.c build on FreeBSD
From: |
Dan Nicolaescu |
Subject: |
Re: emacsclient.c build on FreeBSD |
Date: |
Sat, 13 Dec 2008 19:28:26 -0800 (PST) |
Giorgos Keramidas <address@hidden> writes:
> Hi Dan,
>
> This change:
>
> : 2008-12-10 Dan Nicolaescu <address@hidden>
> :
> : * emacsclient.c (print_help_and_exit): Describe what an empty
> : string argument does for --alternate-editor.
> : (set_socket): Make it possible to not exit in case of an error.
> : (start_daemon_and_retry_set_socket): New function.
> : (main): Use it. Restore the NULL value for socket_name and
> : server_file after the set_socket call.
>
> needs a small patch to build on FreeBSD/i386:
>
> %%%
> diff -r 1d6f7d6431ac lib-src/emacsclient.c
> --- a/lib-src/emacsclient.c Sun Dec 14 02:39:37 2008 +0200
> +++ b/lib-src/emacsclient.c Sun Dec 14 02:58:31 2008 +0200
> @@ -42,6 +42,7 @@
> #else /* !WINDOWSNT */
>
> # include <sys/types.h>
> +# include <sys/wait.h>
Thanks for the bug report. Instead I included syswait.h that includes
both the above files.