Hm, getting this when I try to build with seh.h: c:\Users\djberge\Repositories\win32-service\ext>make gcc -I. -I. -IC:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_REGISTERSERVICECTRLHANDLEREX -DHAVE_SE H_H -Ic:\usr\libseh -g -O2 -DFD_SETSIZE=256 -c win32/daemon.c win32/daemon.c: In function ''Ruby_Service_Ctrl'': win32/daemon.c:203:1: error: expected ''while'' before ''void'' win32/daemon.c:612:1: error: expected declaration or statement at end of input win32/daemon.c:612:1: error: expected declaration or statement at end of input make: *** [daemon.o] Error 1 Dan