summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches/libpthread_need_clockid_t.patch19
2 files changed, 21 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 8c23c612..616aaf46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
hurd (20050513-1+SVN) unreleased; urgency=low
- *
+ * debian/patches/libpthread_need_clockid_t.patch: New patch by Neal
+ Walfield.
-- Michael Banck <mbanck@debian.org> Mon, 16 May 2005 21:55:04 +0200
diff --git a/debian/patches/libpthread_need_clockid_t.patch b/debian/patches/libpthread_need_clockid_t.patch
new file mode 100644
index 00000000..70921fa8
--- /dev/null
+++ b/debian/patches/libpthread_need_clockid_t.patch
@@ -0,0 +1,19 @@
+2005-05-17 Neal H. Walfield <neal@gnu.org>
+
+ * include/pthread/pthread.h: Define __need_clockid_t before
+ including <time.h>.
+
+Index: include/pthread/pthread.h
+===================================================================
+RCS file: /cvsroot/hurd/hurd/libpthread/include/pthread/pthread.h,v
+diff -u -r1.5 -r1.6
+--- libpthread/include/pthread/pthread.h 12 May 2005 20:55:38 -0000 1.5
++++ libpthread/include/pthread/pthread.h 17 May 2005 09:40:50 -0000 1.6
+@@ -26,6 +26,7 @@
+ #include <features.h>
+
+ #include <sched.h>
++#define __need_clockid_t
+ #include <time.h>
+
+ __BEGIN_DECLS