Fix TLS includes for GNU/Hurd

Samuel Thibault samuel.thibault@ens-lyon.org
Sat Jul 21 21:49:00 GMT 2007


Hi,

Just like other ports, sysdeps/mach/i386/sysdeps.h should include
<dl-sysdep.h> and <tls.h>, here is a patch.

Samuel
-------------- next part --------------
2007-07-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	* sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>.

Index: glibc-2.6/sysdeps/mach/i386/sysdep.h
===================================================================
--- glibc-2.6.orig/sysdeps/mach/i386/sysdep.h
+++ glibc-2.6/sysdeps/mach/i386/sysdep.h
@@ -16,6 +16,10 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+/* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
+#include <dl-sysdep.h>
+#include <tls.h>
+
 #define LOSE asm volatile ("hlt")
 
 #define SNARF_ARGS(entry_sp, argc, argv, envp)                               \


More information about the Libc-alpha mailing list