diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 3ac7bd25fb5487614af452afa08772a3e48dc109..911e7155d67ea127e4aa556daf58d07ea66af533 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)