]> git.sur5r.net Git - bacula/bacula/commitdiff
Rework Mac OS 10.6 mtio.h fix
authorKern Sibbald <kern@sibbald.com>
Thu, 10 Dec 2009 15:10:15 +0000 (16:10 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 10 Dec 2009 15:10:15 +0000 (16:10 +0100)
bacula/src/stored/stored.h

index f73d7466583457a3beaca206960fb399c325bb00..7d83ce092a29386615c3f117dcbcbd6633030a25 100644 (file)
@@ -52,11 +52,11 @@ const int sd_dbglvl = 300;
 # else
 #   ifdef HAVE_SYS_TAPE_H
 #   include <sys/tape.h>
+#   else
+    /* Needed for Mac 10.6 (Snow Leopard) */
+#   include "lib/bmtio.h"
 #   endif
 # endif
-#else
-/* Needed for Mac 10.6 (Snow Leopard) */
-#include "bmtio.h"
 #endif
 #include "lock.h"
 #include "block.h"