From patchwork Tue Sep 22 19:53:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alin Serdean X-Patchwork-Id: 521397 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (unknown [IPv6:2600:3c00::f03c:91ff:fe6e:bdf7]) by ozlabs.org (Postfix) with ESMTP id 768C41401AD for ; Wed, 23 Sep 2015 05:55:32 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 48BAE1099C; Tue, 22 Sep 2015 12:55:28 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e4.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id 2D4B310995 for ; Tue, 22 Sep 2015 12:55:27 -0700 (PDT) Received: from bar5.cudamail.com (unknown [192.168.21.12]) by mx1e4.cudamail.com (Postfix) with ESMTPS id 9ED151E025C for ; Tue, 22 Sep 2015 13:55:26 -0600 (MDT) X-ASG-Debug-ID: 1442951726-09eadd11e42a42f0001-byXFYA Received: from mx1-pf1.cudamail.com ([192.168.24.1]) by bar5.cudamail.com with ESMTP id PhWw8rIy4a2vTti8 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 22 Sep 2015 13:55:26 -0600 (MDT) X-Barracuda-Envelope-From: aserdean@cloudbasesolutions.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.1 Received: from unknown (HELO cbssmtp1.cloudbase.local) (91.232.152.5) by mx1-pf1.cudamail.com with SMTP; 22 Sep 2015 19:55:25 -0000 Received-SPF: pass (mx1-pf1.cudamail.com: SPF record at cloudbasesolutions.com designates 91.232.152.5 as permitted sender) X-Barracuda-Apparent-Source-IP: 91.232.152.5 X-Barracuda-RBL-IP: 91.232.152.5 Received: from localhost (localhost [127.0.0.1]) by cbssmtp1.cloudbase.local (Postfix) with ESMTP id DBB3141E34 for ; Tue, 22 Sep 2015 22:55:24 +0300 (EEST) X-Virus-Scanned: amavisd-new at cloudbasesolutions.com Received: from cbssmtp1.cloudbase.local ([127.0.0.1]) by localhost (cbssmtp1.cloudbase.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HaVSZo1aKN6P for ; Tue, 22 Sep 2015 22:55:04 +0300 (EEST) Received: from CBSEX1.cloudbase.local (unknown [10.77.78.3]) by cbssmtp1.cloudbase.local (Postfix) with ESMTP id 4455041FF5 for ; Tue, 22 Sep 2015 22:53:32 +0300 (EEST) Received: from CBSEX1.cloudbase.local ([10.77.78.3]) by CBSEX1.cloudbase.local ([10.77.78.3]) with mapi id 14.03.0224.002; Tue, 22 Sep 2015 21:53:32 +0200 X-CudaMail-Envelope-Sender: aserdean@cloudbasesolutions.com From: Alin Serdean To: "dev@openvswitch.org" X-CudaMail-MID: CM-E1-921083227 X-CudaMail-DTE: 092215 X-CudaMail-Originating-IP: 91.232.152.5 Thread-Topic: [PATCH 4/7] Include headers when using ovs_rundir X-ASG-Orig-Subj: [##CM-E1-921083227##][PATCH 4/7] Include headers when using ovs_rundir Thread-Index: AQHQ9XBbTIezbhdpEkqz2lkO2Ru/dg== Date: Tue, 22 Sep 2015 19:53:31 +0000 Message-ID: <1442951618-13080-5-git-send-email-aserdean@cloudbasesolutions.com> References: <1442951618-13080-1-git-send-email-aserdean@cloudbasesolutions.com> In-Reply-To: <1442951618-13080-1-git-send-email-aserdean@cloudbasesolutions.com> Accept-Language: en-US, it-IT Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.77.78.1] MIME-Version: 1.0 X-GBUdb-Analysis: 0, 91.232.152.5, Ugly c=0.184641 p=-0.666667 Source Normal X-MessageSniffer-Rules: 0-0-0-3722-c X-Barracuda-Connect: UNKNOWN[192.168.24.1] X-Barracuda-Start-Time: 1442951726 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 2.10 X-Barracuda-Spam-Status: No, SCORE=2.10 using per-user scores of TAG_LEVEL=3.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests=BSF_SC7_SA_HREF_FROM_MISMATCH_TEXT_URIx1_HL, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.22795 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 2.00 BSF_SC7_SA_HREF_FROM_MISMATCH_TEXT_URIx1_HL Custom Rule HREF_FROM_MISMATCH_TEXT_URIx1_HL Subject: [ovs-dev] [PATCH 4/7] Include headers when using ovs_rundir X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@openvswitch.org Sender: "dev" This patch adds an additional include file while compiling under MSVC. Found by compiling under MSVC x64 and hitting the following problem: http://stackoverflow.com/questions/23144151/64-bit-function-returns-32-bit-pointer Signed-off-by: Alin Gabriel Serdean --- lib/stream-tcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c index ac42924..fc5a606 100644 --- a/lib/stream-tcp.c +++ b/lib/stream-tcp.c @@ -76,6 +76,8 @@ const struct stream_class tcp_stream_class = { }; #ifdef _WIN32 +#include "dirs.h" + static int windows_open(const char *name, char *suffix, struct stream **streamp, uint8_t dscp)