[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Fix __OPTION_EGLIBC_RTLD_DEBUG's usage



Two files in the elf/ subdir (dl-support.c and rtld.c) use
__OPTION_EGLIBC_RTLD_DEBUG, but don't include the option-groups.h
header.

This patch fixes that.  Please apply it.

Index: elf/dl-support.c
===================================================================
--- elf/dl-support.c<-->(revision 14475)
+++ elf/dl-support.c<-->(working copy)
@@ -20,6 +20,7 @@
 /* This file defines some things that for the dynamic linker are defined in
    rtld.c and dl-sysdep.c in ways appropriate to bootstrap dynamic linking.  */
.
+#include <gnu/option-groups.h>
 #include <errno.h>
 #include <libintl.h>
 #include <stdlib.h>
Index: elf/rtld.c
===================================================================
--- elf/rtld.c<>(revision 14475)
+++ elf/rtld.c<>(working copy)
@@ -17,6 +17,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
.
+#include <gnu/option-groups.h>
 #include <errno.h>
 #include <dlfcn.h>
 #include <fcntl.h>