From patchwork Fri Mar 23 15:31:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kodanev X-Patchwork-Id: 890023 X-Patchwork-Delegate: akodanev@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=oracle.com header.i=@oracle.com header.b="GJsuLz10"; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4076j10C0Xz9s08 for ; Sat, 24 Mar 2018 02:22:11 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 7A3503E6AA8 for ; Fri, 23 Mar 2018 16:22:08 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) by picard.linux.it (Postfix) with ESMTP id 3C45B3E661F for ; Fri, 23 Mar 2018 16:22:06 +0100 (CET) Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id DA4B4207B4E for ; Fri, 23 Mar 2018 16:22:02 +0100 (CET) Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2NFBkRG066474 for ; Fri, 23 Mar 2018 15:22:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2017-10-26; bh=n22jNa+FECJBVnvNAHwx2mk54UdL+Vf5+I26cZb1hwE=; b=GJsuLz10vPkNgHSK/7cmbCTJROJ7Kz37VuJVedITMUV3gdLl5V+nHKVMVP7xMlw+JNLE qnwD7RcNQUsImDBIV8JpSsqrJLZEKL8QBBUU3/kSvK/pd/tAG7l7ZDj/w57rWZHTQCua u3W6GzC7NJLNdFRuAeYlsa9dN+yBM9h//RBIhAB8s/cSZEhaJwkjFpBrAfdESSaeIXa9 FLJx5TztJaPc9+5+jKNp04iXuNaZqDAO7PXDwxmuvVOvlmmaowjSSZ6vOp5lBpBuANTW +fc6JS8UnlQETZS9VFAVSLrWIDqRniEHUYM2GqXNnkfciYjd5aGKdfCDnfnLocgXzz27 XA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2gw40v01rj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 23 Mar 2018 15:22:00 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w2NFLwnb026618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 23 Mar 2018 15:21:59 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w2NFLwjk014683 for ; Fri, 23 Mar 2018 15:21:58 GMT Received: from ak.ru.oracle.com (/10.162.80.29) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 23 Mar 2018 08:21:58 -0700 From: Alexey Kodanev To: ltp@lists.linux.it Date: Fri, 23 Mar 2018 18:31:16 +0300 Message-Id: <1521819076-27327-1-git-send-email-alexey.kodanev@oracle.com> X-Mailer: git-send-email 1.7.1 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8840 signatures=668695 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=727 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803200127 X-Virus-Scanned: clamav-milter 0.99.2 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-7.smtp.seeweb.it Subject: [LTP] [PATCH] include/lapi/dccp.h: check linux/dccp.h in configure X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Signed-off-by: Alexey Kodanev --- configure.ac | 1 + include/lapi/dccp.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 9ff37af..1721ff2 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,7 @@ AC_CHECK_HEADERS([ \ ifaddrs.h \ keyutils.h \ linux/can.h \ + linux/dccp.h \ linux/genetlink.h \ linux/keyctl.h \ linux/if_packet.h \ diff --git a/include/lapi/dccp.h b/include/lapi/dccp.h index 1d7fa05..0d852ad 100644 --- a/include/lapi/dccp.h +++ b/include/lapi/dccp.h @@ -18,7 +18,9 @@ #ifndef LAPI_DCCP_H__ #define LAPI_DCCP_H__ -#include +#ifdef HAVE_LINUX_DCCP_H +# include +#endif #ifndef DCCP_SOCKOPT_SERVICE # define DCCP_SOCKOPT_SERVICE 2