1 2 3 4 5 6 7 8 9 10 11 12 13 14
https://github.com/freebsd/atf/pull/100 On Solaris, getopt(3) is in stdio.h. --- a/atf-c/tp_test.c +++ b/atf-c/tp_test.c @@ -25,6 +25,7 @@ #include "atf-c/tp.h" +#include <stdio.h> #include <string.h> #include <unistd.h>