From patchwork Sun Dec 3 02:58:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reto Schneider X-Patchwork-Id: 1870985 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=bIoMBE6l; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::140; helo=mail-lf1-x140.google.com; envelope-from=swupdate+bncbaabbl66v6vqmgqeu2jwq5i@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lf1-x140.google.com (mail-lf1-x140.google.com [IPv6:2a00:1450:4864:20::140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SjWkK4VMxz1ySY for ; Sun, 3 Dec 2023 14:00:08 +1100 (AEDT) Received: by mail-lf1-x140.google.com with SMTP id 2adb3069b0e04-50bea1c4468sf598943e87.3 for ; Sat, 02 Dec 2023 19:00:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701572401; cv=pass; d=google.com; s=arc-20160816; b=t17Ya0Z7mO45Sa4XA2F10lMfsjd/8Z38boAKRZI6t28tmR9/NjSfuxDo8lthITo+S1 9Ub4OBRSeenEjCCYYqCVFRN4WxRFs6cYB+2/EU+x9pWfmCas1L/8hSFvTaQ03G40xvBv ZVbbWK60M0wEvuEMTfz9Y5GlDnGiuDjJ/6QRrtrQHRMiTovjaIKTHMujczLTEk5yTA3c Ek/KmoRL6PQ6caTq0F/l/8b0F2g+gIPuoDGTE6lY2INeTvBi/BxwImCkMdULMoXmNPXC eqi8apoHxfAB5wM8LYjk3QV/Cpqqk6retKQivp2TSyu9ht9vaRrFS1DwmjY2IrxYnuzf jx/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=0KCcQtly+is6geSqXmhUqF6+2KvJckYfIoK+wecKwjI=; fh=IoLTc/enWoLX4RRgEgrSUsSfQXh/t5dDYFcA3rR92NM=; b=L1mnDY1RQU53gYelleqWZpmTqIAUKOu2eujvqO+9QE5gPqPVVi0ikTSQfiRFCZ1SQH SZRO9pbfYsjNanmy6YuoMcpety/cR8swr5LLlkiL/gRf/PICx7xhpGos7P4Mtp8cXL0P SgLf3gwdWUULy6uG99Xk6nYKomjK5bC43plkJUmM7w77RisxlpR3ZYwEgVsDUWQQdY9z Eu1B3O5W3vz2LwRgK36CYQ2gvAdpeBcSfbujhoJnFf5GZfyI89Tpmc5/PXikIGQymkIP K9i6TtqQimeREst1C+P0wuU2ghnm/SJ6LMMwqKjelj+9cZihMFryPQ+2YIoIjLNkqLQi 096Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::314 as permitted sender) smtp.mailfrom=code@reto-schneider.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701572401; x=1702177201; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=0KCcQtly+is6geSqXmhUqF6+2KvJckYfIoK+wecKwjI=; b=bIoMBE6lzAErJPABuyYSLny2LhxFVdFFZIITXJTz7MBo6cHcBf8NHJbQhstTFd0Tqw mvKDhw51E+h5y56NWLWpcty2DGmH1u9dBxfINm5KYxwRvtUvMXOOHbUEeSdMNc5Hvjg8 aOLUk9VR5ukekM8z1XNK2HyPVM5OtA/hbQKkIgTDcTZYboZcML6T3+OGAHNT4CtwPXrX BZRw2Vx9Mf2GEqPwwLKPEDbyNh0wd9DgGO2kNJ8p0b3hipzw426RINDArzUOV+QuXCHt 43L7M5pNeo7Kpe39oIsPvWsE/ufSuC8UE1kcu2/JhcHNokSGXkI5n3hUY5vHxv68j2lB 7vrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701572401; x=1702177201; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=0KCcQtly+is6geSqXmhUqF6+2KvJckYfIoK+wecKwjI=; b=xFwHGLJe6KgMUOxQ7/bCIckAD1IFb5Ft9v7w2q/B0lSlMEnE9+O8gqyAN3qGoRtFDt 636bTpXQc0IWwVSsmihJIMIcs865T4LhPcWWI0Dd54OTM93Uo0NlyCaQpI9Go3O5kQhi +oz5uTVNjQcspoKhEyEikn/YRgK9kVvzgdKWtvzF/o+MO95/wtADNUS+/yq1spMG6IGa vfS/sY3Az0zTtmgTgRRtIu/6MUjrJ3GJ4OfyJB2KWyiUpH+AYkTmO+69C2ML65l2I4GV 77pAtRBYWi48pkmA8V/fOsMEp81wbmiGVNBOgiEKVqnQGthmjk4czR0wZjIjwT8fWB3m kXTQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YyJXEInCJ46QH9lQi6Z0QcwTVk8LleM2rrG1QJEinQtmQL1Hit1 GkRTGVw3ejVHZ/aQCnlzWPM= X-Google-Smtp-Source: AGHT+IHJmT+Jzspxe4Ml6+9iQS8CNrq0xJ6S/7r9mX4K54wj/8HorPcrdp9F4HeREmMZZuM40GSQSw== X-Received: by 2002:a05:6512:1246:b0:50b:d174:56cc with SMTP id fb6-20020a056512124600b0050bd17456ccmr2560100lfb.21.1701572400338; Sat, 02 Dec 2023 19:00:00 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:3990:b0:509:908b:912f with SMTP id j16-20020a056512399000b00509908b912fls725863lfu.2.-pod-prod-05-eu; Sat, 02 Dec 2023 18:59:58 -0800 (PST) X-Received: by 2002:a05:6512:74c:b0:50b:dfbc:6adb with SMTP id c12-20020a056512074c00b0050bdfbc6adbmr1050674lfs.61.1701572398188; Sat, 02 Dec 2023 18:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701572398; cv=none; d=google.com; s=arc-20160816; b=PGQKK8htkyIpt/aK+NsVm3tJucRx9Vu+W9oKzFuBijRJI1v086X6vr0zf+zWmeCT9O TbH5ASfye0GjfCY62EYzuJWzpi/WO7+lLQIAGt8WazjwBnotZXKwDARsIikQMVJjB/wR PASogJSYQ9OV7ZQ2VU35xyEHjJCf9jOHceU63UTbPG/9RGK5tpZ3PsoTKrE63q2l2IYz 6neER6uB0hml14OfMH7pr0Fz8IBaNb//K5Ar0Pi/nuYbYx0IthmgWCL7MRYN+YnKDBkO U9xUPKtXYIMVGXLAFnoZo4PGC0e3klwVzGopI7hei0lZpDMFA/+jXnN4fTW43qd21EI7 /NnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=FEE3gAKroSl2UbauJnkex2sIIdjw/q8UrWiybNqP8XM=; fh=IoLTc/enWoLX4RRgEgrSUsSfQXh/t5dDYFcA3rR92NM=; b=Lsw4FNBZfhNm8vqnPxx1E6Xy9ApFWRj0FqY0uEJypw+xwx3Zw82Jvi82kwt7zVXlxk QOVGfFCkIeCuhnaKI+IlACZwpwYkksYCn4s6bbakQfJX1v9se5cZJ1kH5+QAmHCLv/FJ dptfNYsQAb1yMzIZKXQreWQ8629Dnup0fuuXe0aJW/GvJnlx/LLxu3WzPgi5fdG+yXyi sSXG0B7mOA9vWXOy0EYC8q54Sxj5lShy5FaXUGueSX8J2Jbxx5QTatE3ZW2Z4anZ1KaJ LrC9/j5siaUFNm3eJCIdljJx6tvDuqo1RGjK6Zafuj01Z/ixbjKL5cPeJW/ZaZMO5VPF W/Nw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::314 as permitted sender) smtp.mailfrom=code@reto-schneider.ch Received: from mxout014.mail.hostpoint.ch (mxout014.mail.hostpoint.ch. [2a00:d70:0:e::314]) by gmr-mx.google.com with ESMTPS id be31-20020a056512251f00b004ffa201cad8si383214lfb.9.2023.12.02.18.59.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 18:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::314 as permitted sender) client-ip=2a00:d70:0:e::314; Received: from [10.0.2.44] (helo=asmtp014.mail.hostpoint.ch) by mxout014.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1r9ci5-000IXl-1p; Sun, 03 Dec 2023 03:59:57 +0100 Received: from [2a02:16a:3e00:1:2ef:4d03:b07c:c5ab] (helo=eleanor.home.reto-schneider.ch) by asmtp014.mail.hostpoint.ch with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1r9ci5-000H7m-0V; Sun, 03 Dec 2023 03:59:57 +0100 X-Authenticated-Sender-Id: reto-schneider@reto-schneider.ch From: Reto Schneider To: swupdate@googlegroups.com Cc: Reto Schneider Subject: [swupdate] [PATCH] util: Add missing include Date: Sun, 3 Dec 2023 03:58:57 +0100 Message-ID: <20231203025909.808554-1-code@reto-schneider.ch> X-Mailer: git-send-email 2.41.0.rc2 MIME-Version: 1.0 X-Vs-State: 0 X-Original-Sender: code@reto-schneider.ch X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of code@reto-schneider.ch designates 2a00:d70:0:e::314 as permitted sender) smtp.mailfrom=code@reto-schneider.ch Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , From: Reto Schneider This fixes the following kind of errors: | In file included from .../core/hw-compatibility.c:12: | .../include/util.h:210:23: error: unknown type name 'mode_t' | 210 | int mkpath(char *dir, mode_t mode); | | ^~~~~~ This issue has been spotted when building against the musl libc. Signed-off-by: Reto Schneider Reviewed-by: Stefano Babic --- include/util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/util.h b/include/util.h index dc0b957b..c7fdbd32 100644 --- a/include/util.h +++ b/include/util.h @@ -17,6 +17,7 @@ #if defined(__linux__) #include #endif +#include #include "globals.h" #include "swupdate_status.h" #include "swupdate_dict.h"