Reminder, don't use
#include "mylocalinclude.h"
in the PETSc source, you should always make it relative the PETSC_DIR/ 
include directory such as
#include "../src/something/hereiman/mylocalinclude.h"
   I had to fix a bunch recently added.
     Thanks
    Barry