added PopoverViewCompatibility.h

allows building without warnings on 6.x