summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2003-09-05 10:41:21 +0000
committerpixel <pixel>2003-09-05 10:41:21 +0000
commit6c8adf89100d24938645d20533ff08b53b0400bd (patch)
tree65348bceea60a6f55c9dffa607e55af0d96e46ba /lib
parente6780760ee4d7d1924c2bc7cbec061f4f36b18e0 (diff)
Starting to build the project MSVC
Diffstat (limited to 'lib')
-rw-r--r--lib/cdreader.cpp2
-rw-r--r--lib/cdutils.cpp1
-rw-r--r--lib/lzss.cpp1
3 files changed, 1 insertions, 3 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>
diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp
index 000f7cc..9ac78e0 100644
--- a/lib/cdutils.cpp
+++ b/lib/cdutils.cpp
@@ -21,7 +21,6 @@
#include <string.h>
#include <malloc.h>
#include <stdlib.h>
-#include <unistd.h>
#include "generic.h"
#include "cdutils.h"
#include "Output.h"
diff --git a/lib/lzss.cpp b/lib/lzss.cpp
index 530c6d9..d21e465 100644
--- a/lib/lzss.cpp
+++ b/lib/lzss.cpp
@@ -20,7 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <getopt.h>
#include <iostream>
#include "generic.h"
#include "lzss.h"