From: Kern Sibbald Date: Sat, 30 Apr 2011 19:17:56 +0000 (+0200) Subject: Correct fix for bat brestore crash X-Git-Tag: Release-7.0.0~940 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=76e8ac31c60994b9e439f703f0ac6e37c36b9c92;p=bacula%2Fbacula Correct fix for bat brestore crash --- diff --git a/bacula/src/qt-console/bat.h b/bacula/src/qt-console/bat.h index c0f22ea970..315210ba77 100644 --- a/bacula/src/qt-console/bat.h +++ b/bacula/src/qt-console/bat.h @@ -4,7 +4,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2007-2009 Free Software Foundation Europe e.V. + Copyright (C) 2007-2011 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -29,8 +29,6 @@ Switzerland, email:ftf@fsfeurope.org. */ /* - * Version $Id$ - * * Kern Sibbald, January 2007 */ @@ -41,6 +39,17 @@ #endif #endif +#if defined(HAVE_WIN32) +#if defined(HAVE_MINGW) +#include "mingwconfig.h" +#else +#include "winconfig.h" +#endif +#else +#include "config.h" +#endif +#define __CONFIG_H + #include #include #include "bacula.h"