From 86a4a5232f09643488912d660245b32a66b80687 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 Oct 2010 17:39:51 -0400 Subject: [PATCH] Use HAVE_DLOPEN instead of HAVE_DLFCN_H when determining whether to include the local or system dlfcn.h --- plugins/sudoers/group_plugin.c | 2 +- src/load_plugins.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sudoers/group_plugin.c b/plugins/sudoers/group_plugin.c index f8f085040..6d5adb126 100644 --- a/plugins/sudoers/group_plugin.c +++ b/plugins/sudoers/group_plugin.c @@ -43,7 +43,7 @@ #if TIME_WITH_SYS_TIME # include #endif -#ifdef HAVE_DLFCN_H +#ifdef HAVE_DLOPEN # include #else # include "compat/dlfcn.h" diff --git a/src/load_plugins.c b/src/load_plugins.c index a5d45733c..c7c7063ea 100644 --- a/src/load_plugins.c +++ b/src/load_plugins.c @@ -37,7 +37,7 @@ #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ -#ifdef HAVE_DLFCN_H +#ifdef HAVE_DLOPEN # include #else # include "compat/dlfcn.h" -- 2.40.0