usb:msc: include referenced usbd_device headers

In addition to stdint.h, MSC directly relies on the usbd_device type
definition existing.  Ensure it has included it's own dependencies.

Fixes: https://github.com/libopencm3/libopencm3/issues/1471
Signed-off-by: Karl Palsson <karlp@tweak.au>
This commit is contained in:
Karl Palsson
2023-03-07 14:27:20 +00:00
parent 9914cd1d6c
commit 189017b25c

View File

@@ -41,6 +41,7 @@ LGPL License Terms @ref lgpl_license
#define __MSC_H
#include <stdint.h>
#include <libopencm3/usb/usbd.h>
typedef struct _usbd_mass_storage usbd_mass_storage;