Message ID | 20180307165609.5684-1-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDD6BWV65QPBBMVTQDKQKGQESHONU2Y@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4010:c07::240; helo=mail-lf0-x240.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbmvtqdkqkgqeshonu2y@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=siemens.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="nD18kItA"; dkim-atps=neutral Received: from mail-lf0-x240.google.com (mail-lf0-x240.google.com [IPv6:2a00:1450:4010:c07::240]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zxKY14Lv1z9scp for <incoming@patchwork.ozlabs.org>; Thu, 8 Mar 2018 03:56:21 +1100 (AEDT) Received: by mail-lf0-x240.google.com with SMTP id t67-v6sf913375lfe.21 for <incoming@patchwork.ozlabs.org>; Wed, 07 Mar 2018 08:56:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1520441778; cv=pass; d=google.com; s=arc-20160816; b=oyIMNTRByng2QB3vFyDepaSpF7WRNsedPsbcJs++9gn3bjInfJnY5dcpGBGruPNi09 PkZ0e7plnc6hGK1wdgq/9Yp1BW+/MkiUW1GzvZR7VYOAxh2crXMyClfNo3TlPSP+Ecgs 5rdJRox2uJc8e6C+lrcusqHfe6BRO1+Z0qT32VKQhV4ILxfYPHAdi4+2N961sOksDF/F Y6e6JpSEvV62+axYz7PZW7xf8hNn6VR2Mjkdgpuk9eJ914uw6aVmI4C4jfE0gw+BzzOw o93s+kxDUWNpDGDwgcL2WwkS2TBDN2D7Xf7zaOjhmP8ycATOfW6giiVv42VIr2iBUKgK D8HA== 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:message-id:date:subject:cc:to:from :arc-authentication-results:arc-message-signature:mime-version :sender:dkim-signature:arc-authentication-results; bh=DdMmnRr4pfqNzOPmXiN3JHL9o0D4RvZBv6BWq23ZO2A=; b=KXUFj6ECkRVLt7scHqtHth04jNv5q6RJkViCcJhO3MNNscswiN/rJEtopXEUEi2Lug D/BnYFLxr0ulEEO+AspLoRS48BywcPkKYsLpTdU82Kom6DL44YljVq/mjtcb5zg+Ri6O ns0H4lhjXHZBT1gOp9CxK/mnK2PrsOyMm1Ss4kWtSW+yXzEezOzBcop54R55nFagapPT 6RsGabzxYMSo/RRX5wicZSnZfUbUaG4Ow9U7djmRX8NT1E68UAapumBiX2y3h86/EzJS QrbroQRZwIl5l4+NoQOPm37t0FlD/Q7grZNAnitkZtUOPhGXRBYwVNJCos9m7ARitETh 4KSA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of christian.storm@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=christian.storm@siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=DdMmnRr4pfqNzOPmXiN3JHL9o0D4RvZBv6BWq23ZO2A=; b=nD18kItAXWRKLccbeyA5l9X3lQe4tEQ4GaN8N3AzC5PUwSNyiJwWlO3F/mXqtrSGZD yshKZFSYpnlV3SDVkvlgVFIBmIXwgjySNxrzh0CgFXN9fh/lr2N0y4QnQJpcwe90sXQt nY9JxvCQTsnMgAQQtl5noeELxP57Ms1363U/nMHKxYq7O8ys6PtuIBvhLpHKw45ybnDU lC3P5mkAxkMI7KOSFaGLESglqVFgGmppDDuC6UvOjBl/LlvG4QvxloTcByZv0ktGqxio mkIAfbd4d42J2ra42p2f51cVTOneAW92BrXxKiUmuuOf8Lz9sUgT3NgdUhe5edSB1kl3 4nJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=DdMmnRr4pfqNzOPmXiN3JHL9o0D4RvZBv6BWq23ZO2A=; b=TAVhUYEwZZYCav7IaQnacE1Sc1BRAVFfGWWwSXWzVk2D94+NBr/nEwJrVLzdDQdLVq /m8CSNAVcstueZpNpNDE/6JKDyklDmRQ0oDOYx0xPCMGsdfxew7tPh82xP1MAOphPLq0 +q5XE0wcxLJ9IzBjoick+vhDh2JfSUEgYarSRVmlQEi+Y3HjTnsSV70H/oMsRtC78XcI CKycG5r4JUgcbBfm+oj/P8xGyWlu1y043XkBWyasaXTALd+ZIeFAnnXICDEvLn6MW4QI CQZMvqBrovV/dsLv3K/MHeP9qyoUmJ6moC05JnD66sY3mFFHuyu7R8D1KFx43TC8olnS x9cw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AElRT7FpwHXVXeqFYE+KCGUIWNO6lGU7mTTQb2l84SMyJa0jwAColm5d 1/sSZGdtBSYfhhkoOjYloQI= X-Google-Smtp-Source: AG47ELuwMCLLZMCxR52zEaiBPQ4s3emXsTqCf3T6mMoRhxhXhP80dOlobXhaRkmnVh5A8BSrBMwW+g== X-Received: by 10.25.195.69 with SMTP id t66mr78717lff.6.1520441778560; Wed, 07 Mar 2018 08:56:18 -0800 (PST) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 2002:a19:d95a:: with SMTP id q87-v6ls260242lfg.0.gmail; Wed, 07 Mar 2018 08:56:17 -0800 (PST) X-Received: by 10.25.199.80 with SMTP id x77mr1714416lff.14.1520441777708; Wed, 07 Mar 2018 08:56:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520441777; cv=none; d=google.com; s=arc-20160816; b=QZv5f4DmOinNIi6swsZ8mFLKxefZNw7GBlTfpX8Jtn95pbYK8MrPC0rdYQXV7MP4py jQvTMdltB59oeLD09n2jYDa5r6IwQpkl/jz/Xu54jnhsPGAJmuxq+zMaD5XlHYSybt7h l90bkQUfmuDJ16/a2xvNvytGsDebo3rF8yiuOt63xsi090Cx17BUJ5BWuhbI+pBMPxUT ss8h/ByUQ87JdAS9ACRqHldzPFGKFxVDaf8FhXAVe710xl1HKU9IytDbxWg2osdk266j hRPP2muFTeS8DYhlf0LXfw82poq15FVP7Ve/8RfrAQJXVUsYaVNa17LONQ8HWVLMZvUC dGsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=pG7X98T71Jgv7wC/geuiFu8kof8en87Q3nott2mvK+s=; b=ioMIsVrUEOiTNR2Y6767XcZlWG2PQfzKQRaq3Tr+/XJ34I5zIB/QgBKFDv83WOMjre 4mzyN2BWUZWtQQ0CuWZIPeDsBWGeQYIosGiwDpcjkI65hKJaim3iEQPw85wH9Hti64ta kgpQ9nOi7w73uIlKdMZReu69t5fFMw3FJ3nlKBGqAVSeylh5/ybg5bbnON9JHgxhCSIX EhBAodGtSBdNzqFftceA8BcahuJvdV1CAL/4woXriLOTUxEGxjZY3JEfONXAuNhbljRF H85wh8RXQbl6XFNmLsVBVNZEr2QiMKnVVcDQBefSDqahb8Pt2wxyhWcU21ZrzFUzW70c +sWA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of christian.storm@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=christian.storm@siemens.com Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id v6si783235ljc.0.2018.03.07.08.56.17 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Mar 2018 08:56:17 -0800 (PST) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w27GuFgh010650 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <swupdate@googlegroups.com>; Wed, 7 Mar 2018 17:56:15 +0100 Received: from MD1KR9XC.ww002.siemens.net ([139.25.69.202]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w27GuFYw002765; Wed, 7 Mar 2018 17:56:15 +0100 From: Christian Storm <christian.storm@siemens.com> To: swupdate@googlegroups.com Cc: Christian Storm <christian.storm@siemens.com>, Thomas Zander <thomas.zander@siemens.com> Subject: [swupdate] [PATCH] util: Add missing stat.h include Date: Wed, 7 Mar 2018 17:56:09 +0100 Message-Id: <20180307165609.5684-1-christian.storm@siemens.com> X-Mailer: git-send-email 2.16.2 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of christian.storm@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=christian.storm@siemens.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
util: Add missing stat.h include
|
expand
|
diff --git a/core/util.c b/core/util.c index bdc47dc..29ab45f 100644 --- a/core/util.c +++ b/core/util.c @@ -13,6 +13,7 @@ #include <errno.h> #include <fcntl.h> #include <sys/file.h> +#include <sys/stat.h> #include <dirent.h> #include "swupdate.h" #include "util.h"