summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/libpthread_need_clockid_t.patch19
1 files changed, 19 insertions, 0 deletions
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