a7e54e
diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc
a7e54e
--- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat	2010-01-20 20:11:36.000000000 +0100
a7e54e
+++ cdrdao-1.2.3/dao/ScsiIf-linux.cc	2010-01-20 20:14:07.000000000 +0100
a7e54e
@@ -19,6 +19,9 @@
a7e54e
 
a7e54e
 #include <config.h>
a7e54e
 
a7e54e
+#include <sys/types.h>
a7e54e
+#include <sys/stat.h>
a7e54e
+
a7e54e
 #include <stdio.h>
a7e54e
 #include <fcntl.h>
a7e54e
 #include <unistd.h>