git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for newer avifile versions
[swftools.git]
/
avi2swf
/
avi2swf.cc
diff --git
a/avi2swf/avi2swf.cc
b/avi2swf/avi2swf.cc
index
945afd1
..
d231762
100644
(file)
--- a/
avi2swf/avi2swf.cc
+++ b/
avi2swf/avi2swf.cc
@@
-41,7
+41,14
@@
extern "C" {
#include "../lib/q.h"
#undef HAVE_CONFIG_H
#include "../lib/q.h"
#undef HAVE_CONFIG_H
-#include <avifile/version.h>
+
+#ifdef HAVE_VERSION_H
+ #include <version.h>
+#endif
+#ifdef HAVE_AVIFILE_VERSION_H
+ #include <avifile/version.h>
+#endif
+
#if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
#include <avifile.h>
#include <aviplay.h>
#if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
#include <avifile.h>
#include <aviplay.h>