diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-04-24 11:43:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-04-24 11:43:02 +0000 |
commit | 193225dd424c72209b54d867fac64b7415cff529 (patch) | |
tree | 9b355b4e98b6b7ae0e003704f622d5a60573e6d8 /source3/include | |
parent | ee8dad7b3de45fe0525a2b3a0d734469cd508084 (diff) | |
download | samba-193225dd424c72209b54d867fac64b7415cff529.tar.gz samba-193225dd424c72209b54d867fac64b7415cff529.tar.bz2 samba-193225dd424c72209b54d867fac64b7415cff529.zip |
patch from Alexander Bokovoy needed for dlopen on bsd systems
(This used to be commit 38fd99e84176106ed700f637e9292d2a4c1385b4)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 8 | ||||
-rw-r--r-- | source3/include/includes.h | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index afe49d419c..0f82546e33 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -190,7 +190,10 @@ #undef USE_SETRESUID #undef USE_SETREUID #undef USE_SETUIDX -#undef HAVE_LIBDL +#undef HAVE_DLOPEN +#undef HAVE_DLCLOSE +#undef HAVE_DLSYM +#undef HAVE_DLERROR #undef SYSCONF_SC_NGROUPS_MAX #undef HAVE_UT_UT_NAME #undef HAVE_UT_UT_USER @@ -878,6 +881,9 @@ /* Define if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H +/* Define if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + /* Define if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H diff --git a/source3/include/includes.h b/source3/include/includes.h index becf7e5e39..3d71f43303 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1002,9 +1002,9 @@ int vasprintf(char **ptr, const char *format, va_list ap); #define DEFAULT_SOCKET_OPTIONS "" #endif -/* Load header file for libdl stuff */ +/* Load header file for dynamic linking stuff */ -#ifdef HAVE_LIBDL +#ifdef HAVE_DLFCN_H #include <dlfcn.h> #endif |