From e88bde0a737cb823026823c54f42c1817882d6ff Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 18 Mar 2000 16:16:15 +0000 Subject: [PATCH] - Fix compile problem on FreeBSD. --- ext/standard/dl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 651b84e665..4a2357f967 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -26,8 +26,14 @@ #include #include #ifndef RTLD_LAZY -# define RTLD_LAZY 1 /* Solaris 1, FreeBSD's (2.1.7.1 and older) */ +#define RTLD_LAZY 1 /* Solaris 1, FreeBSD's (2.1.7.1 and older) */ #endif + +#ifndef RTLD_NOW /* Fixes compile problem on FreeBSD */ +#define RTLD_NOW RTLD_LAZY +#endif + + #if HAVE_STRING_H #include #else -- 2.50.1