This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] elf/dl-runtime.c missing MAX macro
- From: Takeharu KATO <takeharu1219 at ybb dot ne dot jp>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 10 Jan 2005 03:31:57 +0900
- Subject: [PATCH] elf/dl-runtime.c missing MAX macro
Hi,
I found compilation problem about dl-runtime.c.
It uses MAX macro in the file, but it does not include
sys/param.h(this is included in other files in elf directory.).
So, this cause linkage error.
I post the patch to fix this problem.
--
Takeharu KATO
--- glibc-current/elf/dl-runtime.c 2005-01-07 07:40:25.000000000 +0900
+++ glibc-current.fix/elf/dl-runtime.c 2005-01-09 18:36:27.118285425 +0900
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <ldsodefs.h>
+#include <sys/param.h>
#include "dynamic-link.h"
#if (!defined ELF_MACHINE_NO_RELA && !defined ELF_MACHINE_PLT_REL) \