diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2018-05-07 15:48:37 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-05-22 15:23:06 +0200 |
commit | 9668cb1ec2d7281308eff80a4c7c30952c20745d (patch) | |
tree | 1803f21cc511408e3eb7ebf69fafcb785d30324c /lib | |
parent | 5b01430ce2591908ed4c3dbb6be4ca0da6d9d12d (diff) |
stdint.h: include limits.h
The define SIZE_MAX uses ULONG_MAX, which is provided in limits.h.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutils/isoc/include/stdint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutils/isoc/include/stdint.h b/lib/libutils/isoc/include/stdint.h index 1805c5c9..62f50a96 100644 --- a/lib/libutils/isoc/include/stdint.h +++ b/lib/libutils/isoc/include/stdint.h @@ -3,6 +3,8 @@ * Copyright (c) 2014, STMicroelectronics International N.V. */ +#include <limits.h> + /* * This file provides what C99 standard requires in * 7.18 interger types <stdint.h> |