blob: 89519c3b5b7bbb9f0709f6fccbd96966b27dabee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-atf-c_tp__test.c,v 1.1 2013/02/27 22:21:14 jperkin Exp $
Need getopt.h on SunOS.
--- atf-c/tp_test.c.orig 2012-02-26 16:44:57.000000000 +0000
+++ atf-c/tp_test.c
@@ -29,6 +29,9 @@
#include <string.h>
#include <unistd.h>
+#ifdef __sun
+#include <getopt.h>
+#endif
#include <atf-c.h>
|