missing #include
all apps: hdr simplifications