| Message ID | 20220527113411.1846837-1-heiko@ist.eigentlich.net |
|---|---|
| State | Not Applicable |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director9.mail.ord1d.rsapps.net ([172.27.255.8]) by backend41.mail.ord1d.rsapps.net with LMTP id UEViCIe3kGLnEgAAqwncew (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) for <patchwork@openvpn.net>; Fri, 27 May 2022 07:35:35 -0400 Received: from proxy14.mail.iad3a.rsapps.net ([172.27.255.8]) by director9.mail.ord1d.rsapps.net with LMTP id aL87C4e3kGISTAAAalYnBA (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) for <patchwork@openvpn.net>; Fri, 27 May 2022 07:35:35 -0400 Received: from smtp12.gate.iad3a ([172.27.255.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy14.mail.iad3a.rsapps.net with LMTPS id kG9iIJC3kGKCdAAA1+b4IQ (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) for <patchwork@openvpn.net>; Fri, 27 May 2022 07:35:44 -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: smtp12.gate.iad3a.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=ist.eigentlich.net X-Suspicious-Flag: YES X-Classification-ID: 1ea1c3ea-ddb1-11ec-9f0d-525400068c1c-1-1 Received: from [216.105.38.7] ([216.105.38.7:55668] helo=lists.sourceforge.net) by smtp12.gate.iad3a.rsapps.net (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 74/77-13361-587B0926; Fri, 27 May 2022 07:35:34 -0400 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1nuYEh-0002ap-Si; Fri, 27 May 2022 11:34:30 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <SRS0=jQQL=WD=ist.eigentlich.net=heiko@exit0.net>) id 1nuYEg-0002aj-Go for openvpn-devel@lists.sourceforge.net; Fri, 27 May 2022 11:34:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: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=AXVz9XyJ434nBFp9HmTWnWuq/7z6IwD46XQTmrl8x+Q=; b=HZLHsRY2qhqAwhQziPQPjTT7eT 2Ic2KBF2bgMiiVFljURMva72dPfUHKgs+SEut/oBwjth3wzADryU0uIm/rFfwriG/WneohfwPQyOR I3KsYUwBECWz3eubTCjJoKtyhBlmWPZyZpnrjIczEikpDUudBmJrVy/ROla4sQlIRtqs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Type: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=AXVz9XyJ434nBFp9HmTWnWuq/7z6IwD46XQTmrl8x+Q=; b=Q BHbLcrZOGHB+TDdGu7HrJFL8WmqeGtpwa7Nri0EdQF3pCNpHf81eVzH/76NQp3uIU7PFC6kAteOst YMYPj5P1Oemyn7uVkfK7m8+w+m07nle43YfC0uL3qtkXEmFHYuc+vuG0VQkcOEFTnyUiln9nJYtEc F/Ez+JG7DgJq7cj0=; Received: from exit0.net ([85.25.119.185]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.94.2) id 1nuYEZ-0007YQ-4T for openvpn-devel@lists.sourceforge.net; Fri, 27 May 2022 11:34:28 +0000 Received: from coruscant.fritz.box (unknown [87.123.247.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by exit0.net (Postfix) with ESMTPSA id C5957648011A for <openvpn-devel@lists.sourceforge.net>; Fri, 27 May 2022 13:34:17 +0200 (CEST) From: Heiko Hund <heiko@ist.eigentlich.net> To: openvpn-devel@lists.sourceforge.net Date: Fri, 27 May 2022 13:34:11 +0200 Message-Id: <20220527113411.1846837-1-heiko@ist.eigentlich.net> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net> --- src/openvpn/error.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openvpn/error.h b/src/openvpn/error.h index 972619fe..76308560 100644 --- a/src/openvpn/error.h +++ b/src/openvpn/error.h @@ -33,6 +33,8 @@ Content analysis details: (0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1nuYEZ-0007YQ-4T Subject: [Openvpn-devel] [PATCH] include unistd.h for _exit(2) declaration X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox |
| Series |
[Openvpn-devel] include unistd.h for _exit(2) declaration
|
|
Commit Message
Heiko Hund
May 27, 2022, 1:34 a.m. UTC
Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net>
---
src/openvpn/error.h | 2 ++
1 file changed, 2 insertions(+)
Comments
Hi, On Fri, May 27, 2022 at 01:34:11PM +0200, Heiko Hund wrote: > Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net> > --- > src/openvpn/error.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/openvpn/error.h b/src/openvpn/error.h > index 972619fe..76308560 100644 > --- a/src/openvpn/error.h > +++ b/src/openvpn/error.h > @@ -33,6 +33,8 @@ > > #if _WIN32 > #include <windows.h> > +#else > +#include <unistd.h> > #endif > > /* #define ABORT_ON_ERROR */ <unistd.h> is included by "syshead.h" already today, with a nice HAVE_UNISTD_H wraper (thus, not depending on a "if it's not WIN32, it surely must have unistd.h" assumption). So I wonder what issue this fixes? I see no compile time warnings about _exit() either. gert
Hi Gert On Freitag, 27. Mai 2022 13:40:57 CEST Gert Doering wrote: > <unistd.h> is included by "syshead.h" already today, with a nice > HAVE_UNISTD_H wraper (thus, not depending on a "if it's not WIN32, > it surely must have unistd.h" assumption). > > So I wonder what issue this fixes? I see no compile time warnings about > _exit() either. I get "Implicit declaration of function '_exit' is invalid in C99 [-Wimplicit- function-declaration]" complaints from my semantic analyzer, but it's because it didn't pick up the -DHAVE_CONFIG_H. So I think that can be ignored indeed. Apologies for the noise. Heiko
diff --git a/src/openvpn/error.h b/src/openvpn/error.h index 972619fe..76308560 100644 --- a/src/openvpn/error.h +++ b/src/openvpn/error.h @@ -33,6 +33,8 @@ #if _WIN32 #include <windows.h> +#else +#include <unistd.h> #endif /* #define ABORT_ON_ERROR */