$NetBSD: patch-ac,v 1.9 2014/05/14 04:35:20 rodent Exp $ Solaris has , but the plain getopt() function is defined in , 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 - #else + #endif #if HAVE_UNISTD_H #include #endif - #endif } int main ()