Lines 175-181
Link Here
|
175 |
#include <sys/mmu.h> /* for SHMLBA */ |
175 |
#include <sys/mmu.h> /* for SHMLBA */ |
176 |
#endif |
176 |
#endif |
177 |
#ifdef UNIX_LINUX |
177 |
#ifdef UNIX_LINUX |
178 |
#include <asm/page.h> /* for SHMLBA on Linux 2.0 */ |
178 |
#include <linux/version.h> |
|
|
179 |
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) |
180 |
#include <asm/page.h> /* for SHMLBA on Linux 2.0 */ |
181 |
#then |
182 |
#include <linux/shm.h> /* for SHMLBA on Linux 2.6 */ |
183 |
#endif |
179 |
#endif |
184 |
#endif |
180 |
#if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5) |
185 |
#if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5) |
181 |
#define SHMMAX 0x100000 /* maximum shared memory segment size = 1 MB */ |
186 |
#define SHMMAX 0x100000 /* maximum shared memory segment size = 1 MB */ |