From 09482728382997a1882631d657e55880e7f741e2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 6 Nov 2010 16:28:15 +0100 Subject: [PATCH] Fix Windows build to know about exepath --- bacula/src/filed/fd_plugins.c | 2 +- bacula/src/win32/lib/bacula32.def | 1 + bacula/src/win32/lib/bacula64.def | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5