From 9da73532a9d24034d3fd349ed3e0a19c6d8d1038 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Fri, 2 Aug 2019 13:47:45 +0100 Subject: [PATCH] trivial: Add missing inclusions of <string.h>, <stdlib.h> These are implied by some other header on Debian 10, but not on SteamRT 1. Signed-off-by: Simon McVittie <smcv@collabora.com> --- steam-runtime-tools/system-info.c | 2 ++ tests/system-info.c | 1 + 2 files changed, 3 insertions(+) diff --git a/steam-runtime-tools/system-info.c b/steam-runtime-tools/system-info.c index 2d9c438c8..a331134da 100644 --- a/steam-runtime-tools/system-info.c +++ b/steam-runtime-tools/system-info.c @@ -33,6 +33,8 @@ #include <errno.h> #include <fcntl.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> diff --git a/tests/system-info.c b/tests/system-info.c index a86d43447..4c44dd12b 100644 --- a/tests/system-info.c +++ b/tests/system-info.c @@ -31,6 +31,7 @@ #include <glib/gstdio.h> #include <fcntl.h> +#include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> -- GitLab