summaryrefslogtreecommitdiff
path: root/include/pthread/pthreadtypes.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2011-09-07 18:40:56 +0200
committerThomas Schwinge <thomas@schwinge.name>2011-09-07 18:40:56 +0200
commit494cf4879f4ad468ba7c5d02e756db20df8822c2 (patch)
tree495ac5b094691030654c2bb2259c9fe0f101cc7f /include/pthread/pthreadtypes.h
parentc28241162c00127bb5c0d03bbbbfc835a15e8f68 (diff)
parentc2a1b325b7b2ce0d3d16bd1e9430e1d7eddce71e (diff)
Merge commit 'refs/top-bases/t/fix_inline' into t/fix_inline
Diffstat (limited to 'include/pthread/pthreadtypes.h')
-rw-r--r--include/pthread/pthreadtypes.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/pthread/pthreadtypes.h b/include/pthread/pthreadtypes.h
index 471e08e..33bd009 100644
--- a/include/pthread/pthreadtypes.h
+++ b/include/pthread/pthreadtypes.h
@@ -25,18 +25,7 @@
#include <features.h>
-#define __need_clockid_t
-#include <time.h>
-
-/* If we are in a mode where clockid_t is not automatically defined
- and another header has already included <time.h> then defining
- __need_clockid_t was not enough. */
-#ifndef __clockid_t_defined
-# define __clockid_t_defined 1
-# include <bits/types.h>
-/* Clock ID used in clock and timer functions. */
-typedef __clockid_t clockid_t;
-#endif
+#include <bits/types.h>
__BEGIN_DECLS