Not all platforms provide fork() function and checking macros. Please review my suggestion in 'check-sys-wait-h' branch at my server: commit: check sys/wait.h header http://git.podsvirov.pro/?p=dad/fix/ragel.git;a=shortlog;h=refs/heads/check-sys-wait-h -- Regards, Konstantin Podsvirov