diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-01-22 14:50:42 +0100 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-01-23 14:12:06 +0200 |
commit | 20f30e1ae949e1f0d508722a1a799eebb924b093 (patch) | |
tree | 8771740b33e9e4e79a32a1c5db70844aa798bc62 | |
parent | c560a398c3f900fddc6d6501f2db217da648c693 (diff) |
tests: add missing include
The int32_t type is defined in stdint.h.
The musl C library is very conservative in the headers that it
internally includes, and stdint.h is not included by any other header,
unlike with glibc or uClibc, which breaks the build.
Add the missing header.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r-- | tests/string-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/string-test.c b/tests/string-test.c index a72ec30f..5571b528 100644 --- a/tests/string-test.c +++ b/tests/string-test.c @@ -28,6 +28,7 @@ #include <stdlib.h> #include <stdbool.h> #include <stdio.h> +#include <stdint.h> #include <assert.h> #include "shared/string-helpers.h" |