No, I tried it and it works with and without your patch.
CINCLUDES has a lower priority, the order of the parameters matters.
And the default INCLUDE stuff comes after CXXFLAGS (CINCLUDES is a
part of CXXFLAGS in plugin makefiles)
2013/1/26 Joachim Wilke :
> 2013/1/25 Christopher Reimer :
>> Hm
2013/1/25 Christopher Reimer :
> Hmm, it is problematic.
>
> We can't make sure that "make plugins" uses the header files of the
> current source tree.
>
> plugins of 1.7.36 should be compiled against the 1.7.36 headers, even
> if there are older header files in /usr/include/vdr.
This is an issue