diff src/syscommctrl.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 501cfd01ee6d
children
line wrap: on
line diff
--- a/src/syscommctrl.h	Mon Aug 13 11:18:12 2007 +0200
+++ b/src/syscommctrl.h	Mon Aug 13 11:19:21 2007 +0200
@@ -28,7 +28,11 @@
 #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)