From: Eric Bollengier Date: Tue, 6 May 2008 16:05:18 +0000 (+0000) Subject: ebl Tweak #include for faketape driver X-Git-Tag: Release-7.0.0~4643 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b33baad7de2b3f8b9ce05a36b2c529d44e288552;p=bacula%2Fbacula ebl Tweak #include for faketape driver git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6899 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 06ad5177f0..558fd72984 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -86,10 +86,6 @@ #define O_NONBLOCK 0 #endif -#ifdef USE_FAKETAPE -#include "faketape.h" -#endif - /* Forward referenced functions */ void set_os_device_parameters(DCR *dcr); static bool dev_get_os_pos(DEVICE *dev, struct mtget *mt_stat); diff --git a/bacula/src/stored/stored.h b/bacula/src/stored/stored.h index c6d83b4d34..552062104c 100644 --- a/bacula/src/stored/stored.h +++ b/bacula/src/stored/stored.h @@ -78,6 +78,10 @@ const int sd_dbglvl = 300; int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); #endif +#ifdef USE_FAKETAPE +# include "faketape.h" +#endif + /* Daemon globals from stored.c */ extern STORES *me; /* "Global" daemon resource */ extern bool forge_on; /* proceed inspite of I/O errors */