changeset 1383:f204f2fcb15e

Header required
author Chris Cannam
date Wed, 22 Feb 2017 09:53:41 +0000
parents 0a729b57b4e4
children 368449629a30
files data/fileio/BZipFileDevice.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/BZipFileDevice.cpp	Tue Feb 21 21:10:15 2017 +0000
+++ b/data/fileio/BZipFileDevice.cpp	Wed Feb 22 09:53:41 2017 +0000
@@ -21,8 +21,11 @@
 
 #include "base/Debug.h"
 
+// for dup:
 #ifdef _MSC_VER
 #include <io.h>
+#else
+#include <unistd.h>
 #endif
 
 BZipFileDevice::BZipFileDevice(QString fileName) :