I think you need to find out where unistd.h is located on your system and then add the approriate line to tcltkgrass.c and tkMain.c in tcltkgrass/src. Hope this helps. --Xin