]> git.sur5r.net Git - bacula/bacula/commitdiff
Correct fix for bat brestore crash
authorKern Sibbald <kern@sibbald.com>
Sat, 30 Apr 2011 19:17:56 +0000 (21:17 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 1 May 2011 09:56:32 +0000 (11:56 +0200)
bacula/src/qt-console/bat.h

index c0f22ea970c1ddee1bd4716c7bab97281ace2e3b..315210ba77ddfc0336cfca56f53d4d3def7e941c 100644 (file)
@@ -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
  */
 
 #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 <QtGui>
 #include <QtCore>
 #include "bacula.h"