diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 64c4e2b63e0ba416066c62e3ade72b047b41c9e8..bbeef61dba92c9c397477ca89db5fa0bb0bd85fc 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -59,7 +59,6 @@ untested special converters
 #include <string.h>
 #include <math.h>
 #include <stdio.h>
-#include <unistd.h>
 #include "config.h"
 #include <assert.h>
 #if HAVE_SYS_MMAN_H