summaryrefslogtreecommitdiff
path: root/src/ivyprobe.c
diff options
context:
space:
mode:
authorfcolin2004-03-12 09:37:05 +0000
committerfcolin2004-03-12 09:37:05 +0000
commitb64640f991932bda111e97dd1eb28553e5202b9e (patch)
tree1960b7e4e064014c3e259cebe61a2c72820f5cc3 /src/ivyprobe.c
parentd552172d149566e974bccf75dff2bc15bad69602 (diff)
downloadivy-c-b64640f991932bda111e97dd1eb28553e5202b9e.zip
ivy-c-b64640f991932bda111e97dd1eb28553e5202b9e.tar.gz
ivy-c-b64640f991932bda111e97dd1eb28553e5202b9e.tar.bz2
ivy-c-b64640f991932bda111e97dd1eb28553e5202b9e.tar.xz
compile avec MINGW sous WIN32
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);