From 5ac303040b474f20839435b4b6930d6aa845ad1a Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 6 May 2008 16:05:18 +0000 Subject: [PATCH] ebl Tweak #include for faketape driver git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6899 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/dev.c | 4 ---- bacula/src/stored/stored.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) 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 */ -- 2.39.5