diff --git a/gdb/config/sparc/xm-sun4sol2.h b/gdb/config/sparc/xm-sun4sol2.h
index 2714909882e..e06379245c5 100644
--- a/gdb/config/sparc/xm-sun4sol2.h
+++ b/gdb/config/sparc/xm-sun4sol2.h
@@ -69,3 +69,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* The mem functions are in <string.h>.  */
 #undef MEM_FNS_DECLARED
 #define MEM_FNS_DECLARED 1
+
+/* solaris doesn't have siginterrupt, though it has sigaction; however,
+   in this case siginterrupt would just be setting the default. */
+#define NO_SIGINTERRUPT