21 lines
733 B
Plaintext
21 lines
733 B
Plaintext
$NetBSD: patch-ac,v 1.9 2014/05/14 04:35:20 rodent Exp $
|
|
|
|
Solaris has <getopt.h>, but the plain getopt() function is defined in
|
|
<unistd.h>, so it needs both headers.
|
|
|
|
--- configure.orig 2014-04-21 11:24:23.000000000 +0000
|
|
+++ configure
|
|
@@ -21763,11 +21763,10 @@ extern "C" {
|
|
#endif
|
|
#if HAVE_GETOPT_H
|
|
#include <getopt.h>
|
|
- #else
|
|
+ #endif
|
|
#if HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#endif
|
|
- #endif
|
|
}
|
|
int
|
|
main ()
|