summaryrefslogtreecommitdiff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index b0ef7fb1be..1848bfb31d 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -33,6 +33,7 @@
#include <ldsodefs.h>
#include <tls.h>
#include <locale.h> /* for __uselocale */
+#include <version.h>
/* Sanity check. */
#if __ASSUME_REALTIME_SIGNALS && !defined __SIGRTMIN
@@ -238,6 +239,8 @@ const int __linuxthreads_pthread_sizeof_descr
const int __linuxthreads_initial_report_events;
+const char __linuxthreads_version[] = VERSION;
+
/* Forward declarations */
static void pthread_onexit_process(int retcode, void *arg);