From: Ian Rogers Date: Wed, 1 Apr 2026 16:13:17 +0000 (-0700) Subject: perf clockid: Add missing include X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=623030fd0ad59ecc4197b0c0f8dd066a0f0598b3;p=thirdparty%2Flinux.git perf clockid: Add missing include clockid_t is declared in time.h but the include is missing. Reordering header files may result in build breakages. Add the include to avoid this. Signed-off-by: Ian Rogers Signed-off-by: Namhyung Kim --- diff --git a/tools/perf/util/clockid.h b/tools/perf/util/clockid.h index 9b49b4711c768..33dbd8673c1cb 100644 --- a/tools/perf/util/clockid.h +++ b/tools/perf/util/clockid.h @@ -1,8 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0 */ - #ifndef __PERF_CLOCKID_H #define __PERF_CLOCKID_H +#include + struct option; int parse_clockid(const struct option *opt, const char *str, int unset);