summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2014-04-27 05:06:05 +0100
committerOleg Oshmyan <chortos@inbox.lv>2015-09-17 23:37:09 +0300
commitc94f18212330005d8b42da886fda9158b85671a1 (patch)
tree2ca67425c0e6be531748bb6964dec6a5a908df23
parent32b2424fe9bba9602c8344fcc242ad58ea525cb3 (diff)
downloadlibass-c94f18212330005d8b42da886fda9158b85671a1.tar.bz2
libass-c94f18212330005d8b42da886fda9158b85671a1.tar.xz
unistd.h is not needed
-rw-r--r--configure.ac2
-rw-r--r--libass/ass.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6ebaacf..340e209 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
diff --git a/libass/ass.c b/libass/ass.c
index a0a6d47..57cc0e2 100644
--- a/libass/ass.c
+++ b/libass/ass.c
@@ -25,7 +25,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#include <inttypes.h>
#ifdef CONFIG_ICONV