Index: libiberty/regex.c
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -1,3 +1,7 @@
+#ifdef __sun
+#define PROC_UNSUPPORTED 1
+#endif
+
 /* Extended regular expression matching and search library,
    version 0.12.
    (Implements POSIX draft P1003.2/D11.2, except for some of the
