Vectors and rootcint in 5.17

Hello there,
I have just moved from root 5.14 to 5.17, and have trouble with some
rootcint. It may be related to

In order to use vectors of vectors of doubles etc, I had coded VectorSTLLinkDef.h as:

#ifdef CINT

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ class vector+;


But in root 5/17 of Fedora 7 (gcc 4.1.2) this fails with
vector unknown. I added #include to the .h and it
ALMOST works, but generates a VectorSTLDict.cxx which
also needs #include to be added by hand.
Is there a way round this please?
Thank you,

[quote]I added #include to the .h [/quote]Which .h did you add it to ? If added it to the linkdef file you also need to add:#pragma extra_include <vector>.


Yes, that fixes it.
Note, it is actually
#pragma extra_include “vector”;
#pragma extra_include
But you showed me what to do.
Thank you,