You need to include mmsystem.h. It doesn't come with Cygwin32. Link with libwinmm.a. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".