$NetBSD: patch-ab,v 1.18 2011/01/26 23:21:07 drochner Exp $ --- configure.orig 2011-01-21 10:29:26.000000000 +0000 +++ configure @@ -22406,6 +22406,9 @@ main () #error GCC before 3.4 has critical bugs compiling inline assembly #endif #endif +#ifdef __SUNPRO_C +#error Sun Studio cannot handle assembly in this package +#endif __asm__ (""::) ; return 0; @@ -27549,6 +27552,10 @@ $as_echo_n "checking Checking for up to #ifdef __sun /* Solaris */ #include #include +#elif defined(__NetBSD__) +#include +#elif defined(__NetBSD__) +#include #else /* Linux */ #include #define _LINUX_TIME_H