diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-05 17:58:48 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-07 21:56:34 -0800 |
commit | ebaa906159a73eeb001506a7787f5128f17af61a (patch) | |
tree | b9789e7f245b7035eff24efb87a9cc8cdf56aa06 | |
parent | 1804def12f26b9f64453fb9d641034f8de92ff7d (diff) | |
download | xorg-lib-libXaw-ebaa906159a73eeb001506a7787f5128f17af61a.tar.gz |
Use autoconf HAVE_UNISTD_H instead of imake X_NOT_POSIX to find <unistd.h>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | src/OS.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |