ccollins476ad closed pull request #1304: Fix unit test build errors
URL: https://github.com/apache/mynewt-core/pull/1304
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/hw/hal/pkg.yml b/hw/hal/pkg.yml
index 91f1dbca07..524e77b60b 100644
--- a/hw/hal/pkg.yml
+++ b/hw/hal/pkg.yml
@@ -23,4 +23,5 @@ pkg.author: "Apache Mynewt <d...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
 
-pkg.deps: kernel/os
+pkg.deps:
+    - kernel/os
diff --git a/hw/hal/src/hal_flash.c b/hw/hal/src/hal_flash.c
index 35ff78d6e0..8e6a61c581 100644
--- a/hw/hal/src/hal_flash.c
+++ b/hw/hal/src/hal_flash.c
@@ -21,6 +21,7 @@
 #include <assert.h>
 #include <string.h>
 
+#include "os/mynewt.h"
 #include "hal/hal_bsp.h"
 #include "hal/hal_flash.h"
 #include "hal/hal_flash_int.h"


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to