diff --git a/libavcodec/h264_mvpred.h b/libavcodec/h264_mvpred.h
index f6c503a976ea166a489dfe6e9e3a7f23ec26479e..675187d90652c2d33d903fec40e9fd55b1821d2f 100644
--- a/libavcodec/h264_mvpred.h
+++ b/libavcodec/h264_mvpred.h
@@ -25,6 +25,9 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
+#ifndef AVCODEC_H264_MVPRED_H
+#define AVCODEC_H264_MVPRED_H
+
 #include "internal.h"
 #include "avcodec.h"
 #include "h264.h"
@@ -235,3 +238,5 @@ static inline void pred_pskip_motion(H264Context * const h, int * const mx, int
 
     return;
 }
+
+#endif /* AVCODEC_H264_MVPRED_H */