summaryrefslogtreecommitdiff
path: root/libpostproc/postprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpostproc/postprocess.h')
-rw-r--r--libpostproc/postprocess.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index cf4e78c83a..5decb7e8a9 100644
--- a/libpostproc/postprocess.h
+++ b/libpostproc/postprocess.h
@@ -35,6 +35,12 @@
*/
#include "libpostproc/version_major.h"
+#ifndef HAVE_AV_CONFIG_H
+/* When included as part of the ffmpeg build, only include the major version
+ * to avoid unnecessary rebuilds. When included externally, keep including
+ * the full version information. */
+#include "libpostproc/version.h"
+#endif
/**
* Return the LIBPOSTPROC_VERSION_INT constant.