summaryrefslogtreecommitdiff
path: root/dev-libs/atf/files/atf-0.21-getopt-solaris.patch
blob: 08e4fe0faadb164b5249073256dfeb926c78d5ed (plain)
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>