Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master 843e03dde -> 5ec317d45


Misc: Add some required includes to .h files.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b16eed63
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b16eed63
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b16eed63

Branch: refs/heads/master
Commit: b16eed6379619272d4ec0dee5dc0f86ee8b64607
Parents: 843e03d
Author: Christopher Collins <ccoll...@apache.org>
Authored: Mon Apr 24 19:04:21 2017 -0700
Committer: Christopher Collins <ccoll...@apache.org>
Committed: Mon Apr 24 19:20:57 2017 -0700

----------------------------------------------------------------------
 hw/hal/include/hal/hal_timer.h       | 3 +++
 kernel/os/include/os/os.h            | 5 +++--
 sys/stats/full/include/stats/stats.h | 1 +
 3 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b16eed63/hw/hal/include/hal/hal_timer.h
----------------------------------------------------------------------
diff --git a/hw/hal/include/hal/hal_timer.h b/hw/hal/include/hal/hal_timer.h
index a2f717a..1937130 100644
--- a/hw/hal/include/hal/hal_timer.h
+++ b/hw/hal/include/hal/hal_timer.h
@@ -20,6 +20,9 @@
 #ifndef H_HAL_TIMER_
 #define H_HAL_TIMER_
 
+#include <inttypes.h>
+#include "os/queue.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b16eed63/kernel/os/include/os/os.h
----------------------------------------------------------------------
diff --git a/kernel/os/include/os/os.h b/kernel/os/include/os/os.h
index c8734d4..e37b913 100644
--- a/kernel/os/include/os/os.h
+++ b/kernel/os/include/os/os.h
@@ -72,10 +72,10 @@ enum os_error {
     OS_TIMEOUT = 6,
     OS_ERR_IN_ISR = 7,      /* Function cannot be called from ISR */
     OS_ERR_PRIV = 8,        /* Privileged access error */
-    OS_NOT_STARTED = 9,     /* Operating must be started to call this 
function, but isn't */
+    OS_NOT_STARTED = 9,     /* OS must be started to call this function, but 
isn't */
     OS_ENOENT = 10,         /* No such thing */
     OS_EBUSY = 11,          /* Resource busy */
-    OS_ERROR = 12,           /* Generic Error */
+    OS_ERROR = 12,          /* Generic Error */
 };
 
 #define OS_WAIT_FOREVER (-1)
@@ -96,6 +96,7 @@ void os_init_idle_task(void);
 #include "os/endian.h"
 #include "os/os_arch.h"
 #include "os/os_callout.h"
+#include "os/os_cputime.h"
 #include "os/os_dev.h"
 #include "os/os_eventq.h"
 #include "os/os_heap.h"

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b16eed63/sys/stats/full/include/stats/stats.h
----------------------------------------------------------------------
diff --git a/sys/stats/full/include/stats/stats.h 
b/sys/stats/full/include/stats/stats.h
index 1f381f1..5de0142 100644
--- a/sys/stats/full/include/stats/stats.h
+++ b/sys/stats/full/include/stats/stats.h
@@ -19,6 +19,7 @@
 #ifndef __UTIL_STATS_H__
 #define __UTIL_STATS_H__
 
+#include <stddef.h>
 #include <stdint.h>
 #include "syscfg/syscfg.h"
 #include "os/queue.h"

Reply via email to