]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Windows build to know about exepath
authorKern Sibbald <kern@sibbald.com>
Sat, 6 Nov 2010 15:28:15 +0000 (16:28 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 12 Nov 2010 08:13:58 +0000 (09:13 +0100)
bacula/src/filed/fd_plugins.c
bacula/src/win32/lib/bacula32.def
bacula/src/win32/lib/bacula64.def

index 493368000ed23a4156ae7a071e85caf0ca85d251..b045462ac45aae2a0b5ecace63daf67682b95b3d 100644 (file)
@@ -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
index 93d0ec18871018f8e2f4a0043505f6247bdf8468..7c965be5bbd17660394ea6fc64def9e4a34beafe 100644 (file)
@@ -774,3 +774,4 @@ plugin_bclose DATA
 plugin_bwrite DATA
 plugin_bread DATA
 plugin_blseek DATA
+exepath DATA
index 79c5ffda4df3e438fda1701069779aed405d0884..43a5cd5f38d0f1d8b928bcf363f840ae02428ff3 100644 (file)
@@ -761,3 +761,4 @@ plugin_bclose DATA
 plugin_bwrite DATA
 plugin_bread DATA
 plugin_blseek DATA
+exepath DATA