summaryrefslogtreecommitdiff
path: root/lib/cdreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cdreader.cpp')
-rw-r--r--lib/cdreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cdreader.cpp b/lib/cdreader.cpp
index a95980c..32e815f 100644
--- a/lib/cdreader.cpp
+++ b/lib/cdreader.cpp
@@ -1,5 +1,4 @@
#include <stdio.h>
-#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
@@ -73,6 +72,7 @@ void cdreader::sectorseek(int sec) {
}
#ifdef __linux__
+#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/cdrom.h>