]> git.sesse.net Git - mlt/commitdiff
fix PATH_MAX undefined
authorDan Dennedy <dan@dennedy.org>
Sat, 5 Nov 2011 22:18:42 +0000 (15:18 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 5 Nov 2011 22:18:42 +0000 (15:18 -0700)
src/framework/mlt_types.h

index 3f79453ef5c2147882a8ac57d3d1b43d85ed59de..f30e94db8f3da75bfd392fc4108ccfd36a2b7c26 100644 (file)
 #endif
 
 #include <inttypes.h>
-
+#include <limits.h>
 #include "mlt_pool.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /** The set of supported image formats */
 
 typedef enum