projects
/
polyglot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
version 1.4w10UCIb22
[polyglot.git]
/
pipe.h
diff --git
a/pipe.h
b/pipe.h
index
e90a4db
..
a8b086b
100644
(file)
--- a/
pipe.h
+++ b/
pipe.h
@@
-4,6
+4,9
@@
// includes
#include <windows.h>
+#include <io.h>
+#include <fcntl.h>
+#include <stdio.h>
// constants
@@
-19,6
+22,7
@@
const int LINE_INPUT_MAX_CHAR = 10*4096;
struct PipeStruct {
HANDLE hInput, hOutput;
+ FILE *fpInput;
HANDLE hProcess;
HANDLE hThread;
HANDLE hEvent;