summaryrefslogtreecommitdiff
path: root/experimental/clisp/no-page.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/clisp/no-page.h.patch')
-rw-r--r--experimental/clisp/no-page.h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/experimental/clisp/no-page.h.patch b/experimental/clisp/no-page.h.patch
new file mode 100644
index 000000000..aafb98a31
--- /dev/null
+++ b/experimental/clisp/no-page.h.patch
@@ -0,0 +1,12 @@
+--- a/src/unix.d
++++ b/src/unix.d
+@@ -135,9 +135,6 @@
+ #ifdef UNIX_AUX
+ #include <sys/mmu.h> /* for SHMLBA */
+ #endif
+- #if defined(UNIX_LINUX) && !defined(UNIX_GNU)
+- #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
+- #endif
+ /* <sys/shm.h> declares shmget(), shmat(), shmdt(), shmctl() */
+ #endif
+ /* used by SPVW, STREAM */