diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index f2d2b075748f59ecfba8ed8591adb9678721ef14..a3cc93fa2a0fcfe1ec929bd2ba1e3258b96c4682 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -29,6 +29,7 @@
 
 #define AV_STRINGIFY(s)         AV_TOSTRING(s)
 #define AV_TOSTRING(s) #s
+#define AV_PRAGMA(s) _Pragma(#s)
 
 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c