From 7f27882690ce35a5be560e2aec837cf6caa39f9f Mon Sep 17 00:00:00 2001 From: drahn <> Date: Tue, 2 Sep 2003 15:14:54 +0000 Subject: [PATCH] Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL, values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses. --- src/include/dlfcn.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/include/dlfcn.h b/src/include/dlfcn.h index b2c86bb7..41da0bbd 100644 --- a/src/include/dlfcn.h +++ b/src/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