aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-25 18:46:11 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-25 18:46:11 +0000
commit7b5b18d48a0c38b70ef2fb2d9518872b7f85e095 (patch)
tree734a0a5ef0148ce962bcea36863dea00f08cc8da /src
parentfc573abd5c683d5877eebed753b0e80b55e51ce5 (diff)
don't #include <unistd.h> if we're windows
git-svn-id: http://skia.googlecode.com/svn/trunk@7848 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkFDStream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkFDStream.cpp b/src/core/SkFDStream.cpp
index 131bb39989..913dbe9e88 100644
--- a/src/core/SkFDStream.cpp
+++ b/src/core/SkFDStream.cpp
@@ -6,10 +6,11 @@
* found in the LICENSE file.
*/
#include "SkStream.h"
-#include <unistd.h>
#ifndef SK_BUILD_FOR_WIN
+#include <unistd.h>
+
//#define TRACE_FDSTREAM
SkFDStream::SkFDStream(int fileDesc, bool closeWhenDone)