diff options
| author | cgd <cgd@NetBSD.org> | 1996-12-18 22:27:29 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1996-12-18 22:27:29 +0000 |
| commit | 0b2b5475a448bd19d8fc717ad0b09306ff3f00a9 (patch) | |
| tree | 554818f56189c1eb9622174f2463b12e6983d662 /libexec | |
| parent | 13d2436889147d46db681050b308f619b6b1344b (diff) | |
nclude dlfcn.h, and pull RLTD_LAZY in from there. Assume that RTLD_NOW is
RLTD_LAZY + 1 (for now), if it's not defined. RTLD_NOW should be defined
in dlfcn.h, since some code (e.g. X11) wants it and assumes that it has
the value currently used by our RTLD_LAZY.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/rtld.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libexec/ld.elf_so/rtld.c b/libexec/ld.elf_so/rtld.c index 302f04d34cc..6db58328240 100644 --- a/libexec/ld.elf_so/rtld.c +++ b/libexec/ld.elf_so/rtld.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtld.c,v 1.1 1996/12/16 20:38:03 cgd Exp $ */ +/* $NetBSD: rtld.c,v 1.2 1996/12/18 22:27:29 cgd Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -51,12 +51,13 @@ #include <ctype.h> +#include <dlfcn.h> #include "debug.h" #include "rtld.h" -/* FIXME - Theses don't belong here. */ -#define RTLD_LAZY 1 -#define RTLD_NOW 2 +#ifndef RTLD_NOW +#define RTLD_NOW (RTLD_LAZY + 1) +#endif /* * Debugging support. |
