summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2017-05-11 08:42:15 +0200
committerAdam Jackson <ajax@redhat.com>2017-05-11 15:24:01 -0400
commit6634ffc4d26846dcf892f27682f9021f6d9956a9 (patch)
tree940d39d3d18294a9ea213bce2487ae4377a988ec /Xext
parent318257029578a30e29c191befa94a20ad07f97d4 (diff)
Drop workaround for pre-glibc linux
It seems unlikely anyone still needs to build against libc4/libc5. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'Xext')
-rw-r--r--Xext/xf86bigfont.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c
index 72bb77401..529595bb7 100644
--- a/Xext/xf86bigfont.c
+++ b/Xext/xf86bigfont.c
@@ -40,13 +40,6 @@
#include <sys/types.h>
#ifdef HAS_SHM
-#if defined(linux) && (!defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 2)
-/* libc4 does not define __GNU_LIBRARY__, libc5 defines __GNU_LIBRARY__ as 1 */
-/* Linux libc4 and libc5 only (because glibc doesn't include kernel headers):
- Linux 2.0.x and 2.2.x define SHMLBA as PAGE_SIZE, but forget to define
- PAGE_SIZE. It is defined in <asm/page.h>. */
-#include <asm/page.h>
-#endif
#ifdef SVR4
#include <sys/sysmacros.h>
#endif