This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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) \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]