clone 381317 -1
reassign 381317 tightvnc
quit

Since Debian on ia64 should have both getpagesize() and sysconf(_SC_PAGESIZE),
including <asm/page.h> should be unnecessary.

This patch is completely untested.

--- Xvnc/programs/Xserver/os/xalloc.c.old       2006-08-13 14:50:30.000000000 
-0500
+++ Xvnc/programs/Xserver/os/xalloc.c   2006-08-13 14:53:34.000000000 -0500
@@ -239,9 +239,12 @@
 
 #if defined(linux)
 #define HAS_MMAP_ANON
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/mman.h>
-#include <asm/page.h>  /* PAGE_SIZE */
+#if !defined(_SC_PAGESIZE)
+# include <asm/page.h> /* PAGE_SIZE */
+#endif
 #endif /* linux */
 
 #if defined(CSRG_BASED)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to