summaryrefslogtreecommitdiff
path: root/src/post/deinterlace/speedy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/deinterlace/speedy.c')
-rw-r--r--src/post/deinterlace/speedy.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/post/deinterlace/speedy.c b/src/post/deinterlace/speedy.c
index b06e4bc88..2a1e7f673 100644
--- a/src/post/deinterlace/speedy.c
+++ b/src/post/deinterlace/speedy.c
@@ -32,9 +32,13 @@
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
-#include <stdint.h>
-#include <unistd.h>
#include <ctype.h>
+#include <unistd.h>
+#if defined (__SVR4) && defined (__sun)
+# include <sys/int_types.h>
+#else
+# include <stdint.h>
+#endif
#ifdef HAVE_CONFIG_H
# include "config.h"