[hurd,commited] hurd: Add missing include

Message ID 20180318153908.5378-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • [hurd,commited] hurd: Add missing include
Related show

Commit Message

Samuel Thibault March 18, 2018, 3:39 p.m.
* sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
---
 ChangeLog                    | 4 ++++
 sysdeps/mach/hurd/cthreads.c | 1 +
 2 files changed, 5 insertions(+)

-- 
2.16.2

Patch

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.  */