Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.

diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index 1a79e13..faedd28 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -47,6 +47,8 @@
 #include <limits.h>
 #include <stdlib.h>
 
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
 #include "winbase.h"
 #include "wingdi.h"
 #include "commctrl.h"