diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-09-02 15:14:55 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-09-02 15:14:55 +0000 |
commit | 2bf9849879f2b7cde901a0c55c2f0984c74ddecb (patch) | |
tree | 5da92a5eb4e55fa0ba3946a3936a98fe19bba973 /include | |
parent | 87814bdf73820444d1ad7227fac276b91081c96c (diff) |
Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.
Diffstat (limited to 'include')
-rw-r--r-- | include/dlfcn.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h index b2c86bb7fc0..41da0bbda69 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn.h,v 1.7 2003/04/25 19:16:12 marc Exp $ */ +/* $OpenBSD: dlfcn.h,v 1.8 2003/09/02 15:14:54 drahn Exp $ */ /* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */ /* @@ -48,8 +48,11 @@ extern const char *dlerror(void); __END_DECLS /* Values for dlopen `mode'. */ -#define DL_LAZY 1 -#define RTLD_LAZY DL_LAZY /* SunOS Compat */ +#define RTLD_LAZY 1 +#define RTLD_NOW 2 +#define RTLD_GLOBAL 0x100 +#define RTLD_LOCAL 0x000 +#define DL_LAZY RTLD_LAZY /* Compat */ /* * dlctl() commands |