added notify.c

needed for successful compilation on windows