summaryrefslogtreecommitdiff
blob: d70af36ce40e99e2d8dba6e2526e20ee2af50deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>