summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-28 15:29:47 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-28 15:29:47 +0000
commit056eef45e07761176a3c5ba0f063826182ffc249 (patch)
treea329b50c1f6fd3d593323e7cec8403c2405bfc20
parenta18fa6f911e4c796fcd6bd34922e471704755bea (diff)
Fix a potential compile error
-rw-r--r--ldso/libdl/dlib.c2
-rw-r--r--ldso/libdl/libdl.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index 15749ce21..579263be7 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -72,6 +72,8 @@ static char *_dl_debug_detail = 0;
static char *_dl_debug_nofixups = 0;
static char *_dl_debug_bindings = 0;
static int _dl_debug_file = 2;
+#elif defined __SUPPORT_LD_DEBUG_EARLY__
+#define _dl_debug_file 2
#endif
char *_dl_library_path = 0;
char *_dl_ldsopath = 0;
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 15749ce21..579263be7 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -72,6 +72,8 @@ static char *_dl_debug_detail = 0;
static char *_dl_debug_nofixups = 0;
static char *_dl_debug_bindings = 0;
static int _dl_debug_file = 2;
+#elif defined __SUPPORT_LD_DEBUG_EARLY__
+#define _dl_debug_file 2
#endif
char *_dl_library_path = 0;
char *_dl_ldsopath = 0;