diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index b24c67fc077572522b31a50242d6403f20f5a643..63b696708df122eb375c0f515c48724ad6c4511f 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -240,6 +240,7 @@ EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF)
 # currently using libdts for dts decoding
 ifeq ($(CONFIG_DTS),yes)
 OBJS+= dtsdec.o
+CFLAGS+= $(DTS_INC)
 endif
 
 ifeq ($(CONFIG_FAAD),yes)