/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2009 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.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Bacula® is a registered trademark of John Walker.
+ Bacula® is a registered trademark of Kern Sibbald.
The licensor of Bacula is the Free Software Foundation Europe
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
/* Set to debug mutexes */
//#define SD_DEBUG_LOCK
+#ifdef SD_DEBUG_LOCK
+const int sd_dbglvl = 3;
+#else
const int sd_dbglvl = 300;
+#endif
#ifdef HAVE_MTIO_H
#include <mtio.h>
# else
# ifdef HAVE_SYS_TAPE_H
# include <sys/tape.h>
+# else
+ /* Needed for Mac 10.6 (Snow Leopard) */
+# include "lib/bmtio.h"
# endif
# endif
#endif
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
#endif
-#include "faketape.h"
-
+#include "vtape.h"
/* Daemon globals from stored.c */
extern STORES *me; /* "Global" daemon resource */