summaryrefslogtreecommitdiffstats
path: root/libavutil/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/log.c')
-rw-r--r--libavutil/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index 5e84129..e4a9fec 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -24,7 +24,11 @@
* logging functions
*/
+#include "config.h"
+
+#if HAVE_ISATTY
#include <unistd.h>
+#endif
#include <stdlib.h>
#include "avstring.h"
#include "avutil.h"
OpenPOWER on IntegriCloud