This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited] hurd: Add missing include
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Date: Sun, 18 Mar 2018 16:39:08 +0100
- Subject: [hurd,commited] hurd: Add missing include
* sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
---
ChangeLog | 4 ++++
sysdeps/mach/hurd/cthreads.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index b9f90147f9..c0074a6c3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
+
2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd/hurdsig.c: Include <pthread.h>.
diff --git a/sysdeps/mach/hurd/cthreads.c b/sysdeps/mach/hurd/cthreads.c
index 35689307b4..585650522a 100644
--- a/sysdeps/mach/hurd/cthreads.c
+++ b/sysdeps/mach/hurd/cthreads.c
@@ -18,6 +18,7 @@
#include <libc-lock.h>
#include <errno.h>
#include <stdlib.h>
+#include <cthreads.h>
/* This serves as stub "self" pointer for libc locks when TLS is not initialized
yet. */
--
2.16.2