From: Kern Sibbald Date: Sat, 6 Nov 2010 15:28:15 +0000 (+0100) Subject: Fix Windows build to know about exepath X-Git-Tag: Release-5.2.1~958 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09482728382997a1882631d657e55880e7f741e2;p=bacula%2Fbacula Fix Windows build to know about exepath --- diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index 493368000e..b045462ac4 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -35,7 +35,7 @@ #include "filed.h" extern CLIENT *me; -extern char *exepath; +extern DLL_IMP_EXP char *exepath; const int dbglvl = 150; #ifdef HAVE_WIN32 diff --git a/bacula/src/win32/lib/bacula32.def b/bacula/src/win32/lib/bacula32.def index 93d0ec1887..7c965be5bb 100644 --- a/bacula/src/win32/lib/bacula32.def +++ b/bacula/src/win32/lib/bacula32.def @@ -774,3 +774,4 @@ plugin_bclose DATA plugin_bwrite DATA plugin_bread DATA plugin_blseek DATA +exepath DATA diff --git a/bacula/src/win32/lib/bacula64.def b/bacula/src/win32/lib/bacula64.def index 79c5ffda4d..43a5cd5f38 100644 --- a/bacula/src/win32/lib/bacula64.def +++ b/bacula/src/win32/lib/bacula64.def @@ -761,3 +761,4 @@ plugin_bclose DATA plugin_bwrite DATA plugin_bread DATA plugin_blseek DATA +exepath DATA