summaryrefslogtreecommitdiff
path: root/graphics/asymptote/pipestream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/pipestream.cc')
-rw-r--r--graphics/asymptote/pipestream.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/asymptote/pipestream.cc b/graphics/asymptote/pipestream.cc
index bdde519e86..c17e7168a9 100644
--- a/graphics/asymptote/pipestream.cc
+++ b/graphics/asymptote/pipestream.cc
@@ -16,11 +16,14 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#if !defined(_WIN32)
+
#include <iostream>
#include <cstring>
#include <cerrno>
#include <sstream>
-#include <signal.h>
+#include <csignal>
+#include <fcntl.h>
#include "pipestream.h"
#include "common.h"
@@ -222,3 +225,5 @@ void iopipestream::Write(const string &s)
camp::reportFatal("write to pipe failed");
}
}
+
+#endif