Hi, it seems that the commit 484:0b6490d9a62b "remove _POSIX_C_SOURCE cflag" broke the build on at least Fedora 16.
The following patch fixes it on Fedora 16. I haven't tested it on anything else. diff -r 1659395e4de0 stest.c --- a/stest.c Thu Jan 19 22:52:17 2012 +0000 +++ b/stest.c Wed Jan 25 10:39:21 2012 +0100 @@ -6,6 +6,7 @@ #include <string.h> #include <unistd.h> #include <sys/stat.h> +#include <getopt.h> #define FLAG(x) (flag[(x)-'a'])