summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-25 10:46:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-26 11:55:47 +0200
commit0c3edbf0cf9a9a2a67cbb15f8f960b39eb4eda77 (patch)
tree9d5f7f434f7044ef992bcc53c8f29f375aa4bcae /cpukit/posix
parentscore: Include missing <rtems/score/thread.h> (diff)
downloadrtems-0c3edbf0cf9a9a2a67cbb15f8f960b39eb4eda77.tar.bz2
Include missing <rtems/score/threaddispatch.h>
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/adjtime.c8
-rw-r--r--cpukit/posix/src/clocksettime.c5
2 files changed, 4 insertions, 9 deletions
diff --git a/cpukit/posix/src/adjtime.c b/cpukit/posix/src/adjtime.c
index 3b17a7461b..8b49c75eca 100644
--- a/cpukit/posix/src/adjtime.c
+++ b/cpukit/posix/src/adjtime.c
@@ -22,13 +22,11 @@
#include <sys/time.h>
#include <errno.h>
-#include <rtems/system.h>
+#include <rtems/score/timespec.h>
+#include <rtems/score/threaddispatch.h>
+#include <rtems/score/tod.h>
#include <rtems/config.h>
#include <rtems/seterr.h>
-#include <rtems/score/tod.h>
-#include <rtems/posix/time.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/timespec.h>
/**
* This method was initially added as part of porting NTP to RTEMS.
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c
index df9d81da82..8d1107d961 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -21,11 +21,8 @@
#include <time.h>
#include <errno.h>
-#include <rtems/system.h>
-#include <rtems/score/isr.h>
-#include <rtems/score/thread.h>
+#include <rtems/score/threaddispatch.h>
#include <rtems/score/tod.h>
-
#include <rtems/seterr.h>
/*