diff --git a/libavfilter/transform.h b/libavfilter/transform.h
index 6e688487b23e0ddec8f7ed0ea65c429393fed3bf..701c833ecc142f224c2c85017dacea992c9c0d97 100644
--- a/libavfilter/transform.h
+++ b/libavfilter/transform.h
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFILTER_TRANSFORM_H
+#define AVFILTER_TRANSFORM_H
+
 /**
  * @file
  * transform input video
@@ -118,3 +121,4 @@ void avfilter_transform(const uint8_t *src, uint8_t *dst,
                         enum InterpolateMethod interpolate,
                         enum FillMethod fill);
 
+#endif /* AVFILTER_TRANSFORM_H */