[PATCH:libXaw 1/2] Use autoconf HAVE_UNISTD_H instead of imake X_NOT_POSIX to find <unistd.h>
Hans de Goede
hdegoede at redhat.com
Thu Nov 6 06:02:56 PST 2014
Hi,
Series looks good and is:
Reviewed-by: Hans de Goede <hdegoede at redhat.com>
Regards,
Hans
On 11/06/2014 03:05 AM, Alan Coopersmith wrote:
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> src/OS.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/OS.c b/src/OS.c
> index 8bc23dd..4c69005 100644
> --- a/src/OS.c
> +++ b/src/OS.c
> @@ -7,7 +7,7 @@
> #include <X11/IntrinsicP.h>
> #include "Private.h"
>
> -#ifndef X_NOT_POSIX
> +#ifdef HAVE_UNISTD_H
> #include <unistd.h> /* for sysconf(), and getpagesize() */
> #endif
>
>
More information about the xorg-devel
mailing list