Message ID | 1470335072-13867-1-git-send-email-xose.vazquez@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 67D1F60839 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 4 Aug 2016 18:28:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 594A228409 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 4 Aug 2016 18:28:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4998A28425; Thu, 4 Aug 2016 18:28:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B27F428409 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 4 Aug 2016 18:28:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u74IOclM019067; Thu, 4 Aug 2016 14:24:39 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u74IOb5L015109 for <dm-devel@listman.util.phx.redhat.com>; Thu, 4 Aug 2016 14:24:37 -0400 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u74IObww021316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <dm-devel@redhat.com>; Thu, 4 Aug 2016 14:24:37 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AD797811A2 for <dm-devel@redhat.com>; Thu, 4 Aug 2016 18:24:36 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id x83so399860wma.3 for <dm-devel@redhat.com>; Thu, 04 Aug 2016 11:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BCblBjSzu0Spm9T/zOMrTxTZW5A6gZ7WCcUoYjcRu6U=; b=EPMTnH6S5xLLcwP2wqvQHg+2V1wPqdMHVyNYWUuDXN6Ls0V6uh1lefSLjfV0T3/5mg qwvG9BLeGvLmhC79Qew9KywozrNHHE+D7O39UOHXG/4IiCo4EvenXsLrevJh5J0OYBxk V3rSk5EEMlQCXjNtm7ohHLDUDl2bAzf3WGgGH+/zCOdd66ZcdzQBGJs4tlQ2bk95qdTG 8RTE0ycaYo0AJyezJ0v7SzH7KcO67av16UptD3+3cggq8PInvK8CCLZ/k4jyBfV8f5+V ytiGNYuzSPO9iCtSuht/FKa+Vav0MN1FhZpTuCM0x8/rKxiGM9hzGIXkcX1x2F7iIgv4 NMkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BCblBjSzu0Spm9T/zOMrTxTZW5A6gZ7WCcUoYjcRu6U=; b=In0asBolft5vQCArymrOMGLMDvEbp/4z38UUrydBhAcxEukhR8KVbPnfajJ/i4Nycg OpmVHn1OJG/nzOwF2tFszqm0E7OspoxLYKP+mYAOFHuMvlw7kNZQ5K5A33I2HoGEyMw0 3CI2mvnyRO0Oo8k37Ziibb/ByFMyh8B2UUN9mmoxmKJw6uLqwHXk8AHdYQOwlIrqWrBb jXjKer6tU3MCfheS2FIVtOeR6p3JGDfVRjnlTstqIYUIw+OmzKHij28To+mdaUfIs9pc naUw8LYGoj8KkiD7gUMwKMxNeimg6B+zjJZCpd3t5tPo1uJ4oKCwGVjEo/7NE1LVxWnm LbjQ== X-Gm-Message-State: AEkoousbtcuK02uljXFOX+J5v5UsCBsWd91+XI5irc1aRbmXA/1XrrIWqUgFBjlJXtROnA== X-Received: by 10.194.77.174 with SMTP id t14mr73526465wjw.146.1470335075364; Thu, 04 Aug 2016 11:24:35 -0700 (PDT) Received: from localhost ([37.29.145.144]) by smtp.gmail.com with ESMTPSA id g7sm14037403wjx.10.2016.08.04.11.24.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 11:24:34 -0700 (PDT) From: Xose Vazquez Perez <xose.vazquez@gmail.com> To: Date: Thu, 4 Aug 2016 20:24:31 +0200 Message-Id: <1470335072-13867-1-git-send-email-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 04 Aug 2016 18:24:36 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 04 Aug 2016 18:24:36 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com <xose.vazquez@gmail.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-loop: dm-devel@redhat.com Cc: device-mapper development <dm-devel@redhat.com>, Xose Vazquez Perez <xose.vazquez@gmail.com> Subject: [dm-devel] [PATCH 1/2] multipath-tools: add <sys/types.h> to libmultipath/util.h X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libmultipath/util.h b/libmultipath/util.h index 257912c..8861085 100644 --- a/libmultipath/util.h +++ b/libmultipath/util.h @@ -1,6 +1,8 @@ #ifndef _UTIL_H #define _UTIL_H +#include <sys/types.h> + size_t strchop(char *); int basenamecpy (const char * src, char * dst, int); int filepresent (char * run);
Require by musl libc: In file included from pgpolicies.c:9:0: util.h:11:1: error: unknown type name ‘dev_t’ dev_t parse_devt(const char *dev_t); Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> --- libmultipath/util.h | 2 ++ 1 file changed, 2 insertions(+)