From patchwork Sun Mar 28 03:36:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 1673 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director15.mail.ord1d.rsapps.net ([172.28.255.1]) by backend30.mail.ord1d.rsapps.net with LMTP id qHdsHrCUYGB6UAAAIUCqbw (envelope-from ) for ; Sun, 28 Mar 2021 10:37:36 -0400 Received: from proxy8.mail.ord1c.rsapps.net ([172.28.255.1]) by director15.mail.ord1d.rsapps.net with LMTP id 0LsoHrCUYGDWNQAAIcMcQg (envelope-from ) for ; Sun, 28 Mar 2021 10:37:36 -0400 Received: from smtp39.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy8.mail.ord1c.rsapps.net with LMTPS id aJ/4HbCUYGAKUAAAHz/atg (envelope-from ) for ; Sun, 28 Mar 2021 10:37:36 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp39.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=none (p=nil; dis=none) header.from=rfc2549.org X-Suspicious-Flag: YES X-Classification-ID: 230fd750-8fd3-11eb-9e7f-5452006c005a-1-1 Received: from [216.105.38.7] ([216.105.38.7:36020] helo=lists.sourceforge.net) by smtp39.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 9E/B5-08570-FA490606; Sun, 28 Mar 2021 10:37:36 -0400 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.92.3) (envelope-from ) id 1lQWX0-0006Md-QI; Sun, 28 Mar 2021 14:36:46 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1lQWWz-0006MW-MG for openvpn-devel@lists.sourceforge.net; Sun, 28 Mar 2021 14:36:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vu/Qit5gi+3D+ycuLia+XpxNLyr4menYOh8vfNdOpso=; b=BcQaYMJLe5/yiYFukuYdTzlzha ga04xfLp9A1/I3mRdf6qqrgbiOIqiBwZv0pcJpq1a2E6zbuxIHZ6LwTssMTFWy9PX3miIvK1fcotO qtsoDIqdEorTq17/k5It3QHu6G7SkDxm9ydwyA+orsSEXt6lII7PI7x9LQrTA9hdUKXk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vu/Qit5gi+3D+ycuLia+XpxNLyr4menYOh8vfNdOpso=; b=HRF5oZM5JWbkjVsNZ+4idCbPNb togN1vUO+eKiZqKXwBTRIGf+UG9uMVAsh2ZNlJzUpeAMfpM9u0Q5+q3bpMN5Umys9aRVsn9HeLHtN dnm4E1X0/Y5MgQEvEUmEatbgIXmF9yrCU/7odTHvNMcF2WbPO0RvN4cuHrb3O++ACXtc=; Received: from mail.blinkt.de ([192.26.174.232]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1lQWWv-004glJ-4L for openvpn-devel@lists.sourceforge.net; Sun, 28 Mar 2021 14:36:45 +0000 Received: from kamera.blinkt.de ([2001:638:502:390:20c:29ff:fec8:535c]) by mail.blinkt.de with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lQWWn-0003T1-D6 for openvpn-devel@lists.sourceforge.net; Sun, 28 Mar 2021 16:36:33 +0200 Received: (nullmailer pid 10345 invoked by uid 10006); Sun, 28 Mar 2021 14:36:33 -0000 From: Arne Schwabe To: openvpn-devel@lists.sourceforge.net Date: Sun, 28 Mar 2021 16:36:33 +0200 Message-Id: <20210328143633.10300-1-arne@rfc2549.org> X-Mailer: git-send-email 2.17.1 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: rfc2549.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Headers-End: 1lQWWv-004glJ-4L Subject: [Openvpn-devel] [PATCH] Fix #elif TARGET_LINUX missing defined() call X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox I found this when playing with building OpenVPN with cmake. Signed-off-by: Arne Schwabe Acked-by: Gert Doering --- src/openvpn/tun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h index 9d995dd46..902665cc6 100644 --- a/src/openvpn/tun.h +++ b/src/openvpn/tun.h @@ -130,7 +130,7 @@ struct tuntap_options { int dns6_len; }; -#elif TARGET_LINUX +#elif defined(TARGET_LINUX) struct tuntap_options { int txqueuelen;