Index: /trunk/src/lib/restartable-syscall-wrappers.c
===================================================================
--- /trunk/src/lib/restartable-syscall-wrappers.c	(revision 2448)
+++ /trunk/src/lib/restartable-syscall-wrappers.c	(revision 2449)
@@ -43,4 +43,7 @@
 #include <stdarg.h>
 #include <stddef.h>
+#ifdef KBUILD_OS_SOLARIS
+# undef __PRAGMA_REDEFINE_EXTNAME
+#endif
 #include <stdio.h>
 
