[PATCH:libXaw 1/2] Use autoconf HAVE_UNISTD_H instead of imake X_NOT_POSIX to find <unistd.h>

Alan Coopersmith alan.coopersmith at oracle.com
Wed Nov 5 18:05:17 PST 2014


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
 
-- 
1.7.9.2



More information about the xorg-devel mailing list