Merge r21-4-11-chise-0_20-=ucs.
[chise/xemacs-chise.git.1] / src / syscommctrl.h
index 34955a6..45cbb95 100644 (file)
@@ -28,7 +28,11 @@ Boston, MA 02111-1307, USA.  */
 #ifndef INCLUDED_syscommctrl_h_
 #define INCLUDED_syscommctrl_h_
 
+#if !defined (CYGWIN_VERSION_DLL_MAJOR) || CYGWIN_VERSION_DLL_MAJOR > 20
+/* Appears to be missing in Cygwin b20.1; requisite includes are in
+   Windows32/Messages.h and get included automatically with windows.h */
 #include <commctrl.h>
+#endif
 
 #ifndef TB_SETIMAGELIST
 #define TB_SETIMAGELIST (WM_USER + 48)