summaryrefslogtreecommitdiff
path: root/debian/patches/libpthread_need_clockid_t.patch
blob: 70921fa810326cdf56f0c24d42f11fe03fd68c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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