blob: ea7fbb34b7b9ce9c8508c35d4c4213237d66a0c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ac,v 1.8 2011/08/20 16:02:23 cheusov Exp $
Solaris has <getopt.h>, but the plain getopt() function is defined in
<unistd.h>, so it needs both headers.
--- configure.orig 2011-07-21 14:52:29.000000000 +0000
+++ configure
@@ -28383,11 +28383,10 @@ extern "C" {
#endif
#if HAVE_GETOPT_H
#include <getopt.h>
- #else
+ #endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
- #endif
}
int
main ()
|