]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Tweak #include for faketape driver
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 6 May 2008 16:05:18 +0000 (16:05 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 6 May 2008 16:05:18 +0000 (16:05 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6899 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/dev.c
bacula/src/stored/stored.h

index 06ad5177f00faf6c2472ffd8e2cdbe83f55cef6b..558fd729843497ab579324159c2a4ff5663658bd 100644 (file)
 #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);
index c6d83b4d34c93aa5aeb0f3a5f9a49934f1fb8629..552062104c822750fba0b138a4749b0c7508b06e 100644 (file)
@@ -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 */