summaryrefslogtreecommitdiff
path: root/src/ivyprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivyprobe.c')
-rw-r--r--src/ivyprobe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ivyprobe.c b/src/ivyprobe.c
index 99cb5cc..a5a477b 100644
--- a/src/ivyprobe.c
+++ b/src/ivyprobe.c
@@ -33,6 +33,10 @@
#include <string.h>
#ifdef WIN32
#include <windows.h>
+#ifdef __MINGW32__
+#include <regex.h>
+#include <getopt.h>
+#endif
#else
#include <sys/time.h>
#include <unistd.h>
@@ -309,8 +313,11 @@ int main(int argc, char *argv[])
IvyGlutChannelSetUp (0, NULL, NULL, HandleStdin);
#endif
#ifdef IVYMAINLOOP
+#ifndef WIN32
+/* Stdin not compatible with select , select only accept socket */
IvyChannelSetUp (0, NULL, NULL, HandleStdin);
#endif
+#endif
IvyStart (bus);