]> granicus.if.org Git - libass/commitdiff
unistd.h is not needed
authorOleg Oshmyan <chortos@inbox.lv>
Sun, 27 Apr 2014 04:06:05 +0000 (05:06 +0100)
committerOleg Oshmyan <chortos@inbox.lv>
Thu, 17 Sep 2015 20:37:09 +0000 (23:37 +0300)
configure.ac
libass/ass.c

index 6ebaacf903e351e2c258f392b157203cd50e788b..340e20909f6d727292c22c4bd788f62868e79a47 100644 (file)
@@ -16,7 +16,7 @@ AM_PROG_AS
 # Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_STDBOOL
-AC_CHECK_HEADERS([stdint.h unistd.h iconv.h])
+AC_CHECK_HEADERS([stdint.h iconv.h])
 
 # Checks for library functions.
 AC_CHECK_FUNCS([strdup strndup])
index a0a6d473c4e6f2c037cc2a2c16dad7a6522163ce..57cc0e2359f58c0dde5c439d0deb622e2222ab51 100644 (file)
@@ -25,7 +25,6 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <unistd.h>
 #include <inttypes.h>
 
 #ifdef CONFIG_ICONV