Update pal1sofa.h with config.h protection