2013-09-26 17:14:40 +02:00

21 lines
734 B
Plaintext

$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 ()