summaryrefslogtreecommitdiff
path: root/include/usb_sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_sm.h')
-rw-r--r--include/usb_sm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb_sm.h b/include/usb_sm.h
index d8eff5190a..2b5939bc04 100644
--- a/include/usb_sm.h
+++ b/include/usb_sm.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_USB_SM_H
#define __CROS_EC_USB_SM_H
+#include "compiler.h" /* for typeof() on Zephyr */
+
/* Function pointer that implements a portion of a usb state */
typedef void (*state_execution)(const int port);