summaryrefslogtreecommitdiff
path: root/driver/accelgyro_icm_common.h
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-07-15 10:31:26 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-19 17:55:20 +0000
commit3eb29b6aa5a4e5e8c85046be789c6dd8d38afbaa (patch)
tree9490ccdaf8dcd9f377c13172da7da44072c69055 /driver/accelgyro_icm_common.h
parentb6f385a4492b61ab171dcb97e352cf13e3a21b05 (diff)
downloadchrome-ec-3eb29b6aa5a4e5e8c85046be789c6dd8d38afbaa.tar.gz
builtin: Move ssize_t to sys/types.h
According to POSIX ssize_t should be defined in sys/types.h, not stddef.h: https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/sys_types.h.html BRANCH=none BUG=b:234181908 TEST=./util/compare_build.sh -b all => MATCH Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I027a2b26dc183c506d691d483c86644d04db9282 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3765450 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'driver/accelgyro_icm_common.h')
-rw-r--r--driver/accelgyro_icm_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/accelgyro_icm_common.h b/driver/accelgyro_icm_common.h
index 89586a482f..7845f68177 100644
--- a/driver/accelgyro_icm_common.h
+++ b/driver/accelgyro_icm_common.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_ACCELGYRO_ICM_COMMON_H
#define __CROS_EC_ACCELGYRO_ICM_COMMON_H
+#include <sys/types.h>
+
#include "accelgyro.h"
#include "hwtimer.h"
#include "timer.h"