why do you need to guard this (the header only gets included if HAVE_UG)? And what's the connection to headercheck?
HAVE_UG
Headercheck includes config.h and every header twice. As I do not always have DuMuX configured with UG it fails unless I guard the complete header.
config.h