summaryrefslogtreecommitdiff
path: root/libusb/usb_common.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-11 10:22:26 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-11 19:19:48 -0700
commit6ae2bbf849aa597054d7c84d20fc634ed87a1da5 (patch)
treec1deed14207996f685f28a5fb5d553db130d205c /libusb/usb_common.c
parentda46fcb709b9df47d788341b3bd87c545f720f4f (diff)
libmisc: Write my own assert.h with assert_notreached()
Diffstat (limited to 'libusb/usb_common.c')
-rw-r--r--libusb/usb_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libusb/usb_common.c b/libusb/usb_common.c
index ceabad3..17dba0a 100644
--- a/libusb/usb_common.c
+++ b/libusb/usb_common.c
@@ -7,11 +7,12 @@
#include <stdint.h> /* for uint{n}_t types */
#include <stddef.h> /* for size_t */
#include <string.h> /* memcpy(newlib) */
-#include <assert.h> /* for assert(newlib) */
#include <stdlib.h> /* for malloc(pico_malloc), realloc(pico_malloc), reallocarray(pico_malloc) */
#include "bsp/board_api.h" /* for board_init(), board_init_after_usb(), board_usb_get_serial(TinyUSB) */
#include "tusb.h" /* for various tusb_*_t types */
+#include <libmisc/assert.h>
+
#include <libusb/tusb_helpers.h> /* for LANGID_*, TU_UTF16() */
#include <libusb/usb_common.h>