summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mencoder.c3
-rw-r--r--mixer.c2
-rw-r--r--vobsub.c3
3 files changed, 8 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c
index 60de98c1f3..5965e21635 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -19,6 +19,9 @@
#include <stdlib.h>
#include <string.h>
#include <signal.h>
+#ifdef __MINGW32__
+#define SIGQUIT 3
+#endif
#include <sys/time.h>
#include "config.h"
diff --git a/mixer.c b/mixer.c
index dbbd418282..3b7a21934c 100644
--- a/mixer.c
+++ b/mixer.c
@@ -1,6 +1,8 @@
#include <string.h>
+#ifndef __MINGW32__
#include <sys/ioctl.h>
+#endif
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/vobsub.c b/vobsub.c
index 4fbee89de9..0e76168181 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -13,6 +13,9 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef __MINGW32__
+typedef long ssize_t;
+#endif
#include "config.h"
#include "version.h"