diff --git a/libavresample/version.h b/libavresample/version.h
index bd52ca6ece29aea66fa55618eaae00eadb7faa8d..0dd5bb62c5320c39bd068070dd80b4e459df41bb 100644
--- a/libavresample/version.h
+++ b/libavresample/version.h
@@ -25,6 +25,8 @@
  * Libavresample version macros.
  */
 
+#include "libavutil/avutil.h"
+
 #define LIBAVRESAMPLE_VERSION_MAJOR  1
 #define LIBAVRESAMPLE_VERSION_MINOR  1
 #define LIBAVRESAMPLE_VERSION_MICRO  0