From b4725d8e2cf04ffbead7721b5b43151245679262 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Nov 2012 04:41:06 -0500 Subject: ldso: include dlfcn.h for RTLD_NODELETE Building with NPTL enabled and shared library support disabled we hit: In file included from libpthread/nptl/sysdeps/generic/dl-tls.c:30:0: ./ldso/include/dl-elf.h: In function '__dl_parse_dynamic_info': ./ldso/include/dl-elf.h:173:20: error: 'RTLD_NODELETE' undeclared (first use in this function) ./ldso/include/dl-elf.h:173:20: note: each undeclared identifier is reported only once for each function it appears in make: *** [libpthread/nptl/sysdeps/generic/dl-tls.os] Error 1 A previous commit (f26c5f6952ce9bf8edec9c1571c47addb1bcc442) touched on a similar issue, but added the include to the incorrect location. Reported-by: Christophe Lyon [arm nommu] Reported-by: Daniel Beecham [static x86_64] Signed-off-by: Mike Frysinger --- ldso/include/ldso.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ldso/include/ldso.h') diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index f5bb6e077..e0671f74a 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -42,7 +42,6 @@ #ifndef __ARCH_HAS_NO_SHARED__ #include #include -#include /* Now the ldso specific headers */ #include #ifdef __UCLIBC_HAS_TLS__ -- cgit v1.2.3