I am trying to compile xemacs in the cygwin environment, and I am
getting
the following error:
 ...
In file included from console-msw.h:39,
                 from cmdloop.c:43:
syswindows.h:305: conflicting types for `NMCBEENDEDITW'
/usr/include/w32api/commctrl.h:1362: previous declaration of `NMCBEENDEDITW'
syswindows.h:305: conflicting types for `LPNMCBEENDEDITW'
/usr/include/w32api/commctrl.h:1362: previous declaration of
`LPNMCBEENDEDITW'
syswindows.h:305: conflicting types for `PNMCBEENDEDITW'
/usr/include/w32api/commctrl.h:1362: previous declaration of
`PNMCBEENDEDITW'
I would appreciate any help I can get to resolve this. 
  Both cygwin and XEmacs are
under constant development.  syswindows.h 
contains required definitions that were missing from cygwin (actually w32api 
but that distinction's not important here).  Cygwin has since gotten better 
and some of the definitions in syswindows.h are no longer needed.
  You can get an updated syswindows.h from CVS at <A
HREF="http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/src/syswindows...
http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/src/syswindows.h</A> or you can 
just delete the definitions of the offending structs.Or you can try (not 
recommended) to revert your cygwin w32api package.