From patchwork Sun Oct 9 13:30:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugene Syromyatnikov X-Patchwork-Id: 9369133 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: 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 0E1F260487 for ; Mon, 10 Oct 2016 08:33:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01A2629325 for ; Mon, 10 Oct 2016 08:33:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAB742933B; Mon, 10 Oct 2016 08:33:21 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 96D8E29325 for ; Mon, 10 Oct 2016 08:33:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9A8UnAM036879; Mon, 10 Oct 2016 04:30:49 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u99DUjGx016643 for ; Sun, 9 Oct 2016 09:30:45 -0400 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u99DUjlv005582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 9 Oct 2016 09:30:45 -0400 Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (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 8D49015561; Sun, 9 Oct 2016 13:30:44 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id p80so5474465lfp.1; Sun, 09 Oct 2016 06:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/xYCFcmcmuPU0UeZyyPRNoiqNnhZrJPh59ur4DEA86o=; b=UjMQMxtn6MUO9OpGfQUqPI6bFtWEKeqBZlI0K7S068CfEplalNsnUFLYCYUWRwxkWo cWBX6WbGmKMI5nlW8cJdADaGPVNA+EbbswBIf5NBqjnE3jDUviubGj8LGqVC2kgTLIDQ VoD7/n+mFpvRV9G9Ejw9ysa9+mg+3feL3bPSc5sftd3vT5tWB1DtviV3TV/l2B9qlPG3 rolX6jYzP4B0YqevN4UdGr/0raR+0X0+61Aoc6KYgtU67rbeLgQRA7Oa8CTWlZpPjdO5 zavShcv9T3j24MoWF6eQsHb/RPRJ4pyhS5vPE8QfZMq6bjFn6uiSDpjVZah1WM9SqOTM UxLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/xYCFcmcmuPU0UeZyyPRNoiqNnhZrJPh59ur4DEA86o=; b=XScYn3eAljGKSXsWrkZyQ3FgSbqJEI9m0pI7GeiRD7uRCZ4FQwo7hvM0fKtXsTNdCs TK7PM0AOxB+L1fJTU5jDthE+OJbB+SdKA4e0dxt4w5UTM4frME95zqH2Eh5BC49yydO7 YwDMOVQM3Wrd2l/gy5bpDHIlWurngUL0Ow1POw4tmv4iuBDQb9ufcZwfiXcLD9LhQ0Q4 SZfYiaHwUm6gGJtugomyaLmyT/JP2kCXz8X/ykcJBBLHN7FdrdxFwae/SifXVpBrj2yo qP9KpGwDmlnLgz6pK+/8hXM8cpPc18UjnyD08ckCbNajgjlXTfPkRfvE76OWJev+z2QD kRmg== X-Gm-Message-State: AA6/9RkqYLSFdnNFqT1WPAGH8hQ6Im4ON84NUm7RZd9lFWuG3jg4UBu6oY3PW1yMa6Fwww== X-Received: by 10.25.200.199 with SMTP id y190mr9642213lff.40.1476019842947; Sun, 09 Oct 2016 06:30:42 -0700 (PDT) Received: from obsidian (broadband-46-188-15-144.2com.net. [46.188.15.144]) by smtp.gmail.com with ESMTPSA id r20sm5196253lfr.19.2016.10.09.06.30.42 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 09 Oct 2016 06:30:42 -0700 (PDT) Date: Sun, 9 Oct 2016 16:30:40 +0300 From: Eugene Syromyatnikov To: strace-devel@lists.sourceforge.net Message-ID: <20161009133040.GA3677@obsidian> References: <20161005.192828.566127461630656590.yamato@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20161005.192828.566127461630656590.yamato@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Sun, 09 Oct 2016 13:30:44 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Sun, 09 Oct 2016 13:30:44 +0000 (UTC) for IP:'209.85.215.68' DOMAIN:'mail-lf0-f68.google.com' HELO:'mail-lf0-f68.google.com' FROM:'evgsyr@gmail.com' RCPT:'' X-RedHat-Spam-Score: 0.68 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 209.85.215.68 mail-lf0-f68.google.com 209.85.215.68 mail-lf0-f68.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.29 X-loop: dm-devel@redhat.com X-Mailman-Approved-At: Mon, 10 Oct 2016 04:29:54 -0400 Cc: dm-devel@redhat.com, mpatocka@redhat.com, yamato@redhat.com Subject: [dm-devel] [PATCH 12/21] dm: Add inttypes.h, include reorder X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP Build failed otherwise on RHEL 5. --- dm.c | 3 ++- tests/ioctl_dm.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dm.c b/dm.c index b6fb11d..a11196f 100644 --- a/dm.c +++ b/dm.c @@ -2,8 +2,9 @@ #ifdef HAVE_LINUX_DM_IOCTL_H -# include +# include # include +# include # if DM_VERSION_MAJOR == 4 diff --git a/tests/ioctl_dm.c b/tests/ioctl_dm.c index 31f474c..94dbe93 100644 --- a/tests/ioctl_dm.c +++ b/tests/ioctl_dm.c @@ -1,4 +1,5 @@ #include "tests.h" +#include #include #include #include