summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/timespec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/timespec.h b/cpukit/score/include/rtems/score/timespec.h
index 060df71f38..d7c543bb3e 100644
--- a/cpukit/score/include/rtems/score/timespec.h
+++ b/cpukit/score/include/rtems/score/timespec.h
@@ -26,12 +26,13 @@
*/
/**@{*/
+#include <stdint.h> /* uint32_t */
+#include <time.h> /* struct timespec */
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <sys/types.h>
-
/** @brief Set Timespec to Seconds Nanosecond
*
* This method sets the timespec to the specified seconds and nanoseconds