Nikolay Sivov (@nsivov) commented about dlls/comctl32/datetime.c:
#include "winnls.h" #include "commctrl.h" #include "comctl32.h" +#if __WINE_COMCTL32_VERSION == 6 #include "uxtheme.h" #include "vsstyle.h" +#endif #include "wine/debug.h"
Could you pack this change in comctl32.h instead? This will be a recurring pattern for all controls. Or we could simply leave that unchanged, it shouldn't harm to have more includes than we actually need.