diff sub/subreader.c @ 36253:5c8339df2496

Check if path is too long Some buggy libc such as OS/2 kLIBC crashes if path is too long.
author komh
date Mon, 17 Jun 2013 12:27:36 +0000
parents 71360817b772
children a94f5085f3a2
line wrap: on
line diff
--- a/sub/subreader.c	Sun Jun 16 22:35:51 2013 +0000
+++ b/sub/subreader.c	Mon Jun 17 12:27:36 2013 +0000
@@ -42,6 +42,7 @@
 #include "stream/stream.h"
 #include "libavutil/common.h"
 #include "libavutil/avstring.h"
+#include "osdep/osdep.h"
 
 #ifdef CONFIG_ENCA
 #include <enca.h>