summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Exceptions.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc
index acc948c..f8dae62 100644
--- a/lib/Exceptions.cc
+++ b/lib/Exceptions.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Exceptions.cc,v 1.38 2005-02-17 08:33:50 pixel Exp $ */
+/* $Id: Exceptions.cc,v 1.39 2005-02-24 11:30:05 pixel Exp $ */
#include <string.h>
#include <errno.h>
@@ -178,6 +178,10 @@ int xpipe(int *, int) throw (GeneralException) {
}
#endif
+#ifdef _WIN32
+#include <io.h>
+#endif
+
int xdup(int h) throw(GeneralException) {
#ifdef __MIPSEL__
throw GeneralException(_("Dup isn't supported on PlayStation2 yet"));