Lines 40-52
Link Here
|
40 |
|
40 |
|
41 |
#include <sys/types.h> |
41 |
#include <sys/types.h> |
42 |
#ifdef HAS_SHM |
42 |
#ifdef HAS_SHM |
43 |
#if defined(linux) && (!defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 2) |
|
|
44 |
/* libc4 does not define __GNU_LIBRARY__, libc5 defines __GNU_LIBRARY__ as 1 */ |
45 |
/* Linux libc4 and libc5 only (because glibc doesn't include kernel headers): |
46 |
Linux 2.0.x and 2.2.x define SHMLBA as PAGE_SIZE, but forget to define |
47 |
PAGE_SIZE. It is defined in <asm/page.h>. */ |
48 |
#include <asm/page.h> |
49 |
#endif |
50 |
#ifdef SVR4 |
43 |
#ifdef SVR4 |
51 |
#include <sys/sysmacros.h> |
44 |
#include <sys/sysmacros.h> |
52 |
#endif |
45 |
#endif |