diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 2ee40d110509b5cb9a173d65500b78d083adad18..1ac9f311b82b5d42c0d616ddcf405e35d8181e0c 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -20,8 +20,8 @@
  */
 #include "avcodec.h"
 #include "bytestream.h"
+#include "dsputil.h"
 #include "png.h"
-#include <dsputil.h>
 
 /* TODO:
  * - add 2, 4 and 16 bit depth support