[sw] Fix a few non-absolute includes Signed-off-by: Miguel Young de la Sota <mcyoung@google.com>
diff --git a/sw/device/lib/handler.c b/sw/device/lib/handler.c index ed5728c..27c867c 100644 --- a/sw/device/lib/handler.c +++ b/sw/device/lib/handler.c
@@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 -#include "handler.h" +#include "sw/device/lib/handler.h" #include "sw/device/lib/base/stdasm.h" #include "sw/device/lib/common.h"
diff --git a/sw/device/lib/hmac.c b/sw/device/lib/hmac.c index bfad441..a823872 100644 --- a/sw/device/lib/hmac.c +++ b/sw/device/lib/hmac.c
@@ -2,10 +2,9 @@ // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 -#include "hmac.h" +#include "sw/device/lib/hmac.h" #include "hmac_regs.h" // Generated. - #include "sw/device/lib/common.h" #define HMAC0_BASE_ADDR 0x40120000
diff --git a/sw/device/lib/hw_sha256.c b/sw/device/lib/hw_sha256.c index af67cae..0413857 100644 --- a/sw/device/lib/hw_sha256.c +++ b/sw/device/lib/hw_sha256.c
@@ -4,7 +4,7 @@ #include "sw/device/lib/hw_sha256.h" -#include "hmac.h" +#include "sw/device/lib/hmac.h" static const HASH_VTAB HW_SHA256_VTAB = {.init = &hw_SHA256_init, .update = &hw_SHA256_update,
diff --git a/sw/device/lib/usb_simpleserial.h b/sw/device/lib/usb_simpleserial.h index 59f4238..5929c76 100644 --- a/sw/device/lib/usb_simpleserial.h +++ b/sw/device/lib/usb_simpleserial.h
@@ -9,7 +9,7 @@ #include <stdint.h> #include "sw/device/lib/common.h" -#include "usbdev.h" +#include "sw/device/lib/usbdev.h" // This is only here because caller of _init needs it typedef struct usb_ss_ctx {