diff options
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/avdevice.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index 6de0e33819..0b32e59fed 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -20,6 +20,12 @@ #define AVDEVICE_AVDEVICE_H #include "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 "version.h" +#endif /** * @file |