[PATCH] One more Sparc fix

Jakub Jelinek jakub@redhat.com
Thu Apr 6 03:14:00 GMT 2000


Hi!

One further thing which popped up at the very end of build after I've sent
the last patch. bits/sigcontext.h is unprotected against multiple inclusion
so when somebody includes signal.h together with register-dump.h,
compilation fails.
With this I get full sparc64-linux libc to build finally.

2000-04-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
	signal.h instead of bits/sigcontext.h.
	* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.

--- libc/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h.jj	Mon Jan 17 07:58:55 2000
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h	Thu Apr  6 10:15:56 2000
@@ -20,7 +20,7 @@
 
 #include <sys/uio.h>
 #include <stdio-common/_itoa.h>
-#include <bits/sigcontext.h>
+#include <signal.h>
 
 /* We will print the register dump in this format:
 
--- libc/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h.jj	Fri Dec 10 15:15:34 1999
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h	Thu Apr  6 10:09:18 2000
@@ -20,7 +20,7 @@
 
 #include <sys/uio.h>
 #include <stdio-common/_itoa.h>
-#include <bits/sigcontext.h>
+#include <signal.h>
 
 /* We will print the register dump in this format:
 

	Jakub


More information about the Libc-hacker mailing list