--- clisp-2.41/src/unix.d.orig 2007-04-30 01:47:51.000000000 +0900 +++ clisp-2.41/src/unix.d 2007-04-30 01:38:32.000000000 +0900 @@ -175,7 +175,12 @@ #include /* for SHMLBA */ #endif #ifdef UNIX_LINUX - #include /* for SHMLBA on Linux 2.0 */ + #include + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) + #include /* for SHMLBA on Linux 2.0 */ + #then + #include /* for SHMLBA on Linux 2.6 */ + #endif #endif #if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5) #define SHMMAX 0x100000 /* maximum shared memory segment size = 1 MB */