Use HAVE_DLOPEN instead of HAVE_DLFCN_H when determining whether to

include the local or system dlfcn.h
This commit is contained in:
Todd C. Miller
2010-10-11 17:39:51 -04:00
parent 798fc86a9c
commit 86a4a5232f
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#ifdef HAVE_DLFCN_H
#ifdef HAVE_DLOPEN
# include <dlfcn.h>
#else
# include "compat/dlfcn.h"