fix ogr_p.h patch