On Tue, Sep 22, 2015 at 12:53 PM, Alin Serdean
<aserd...@cloudbasesolutions.com> wrote:
> 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 <aserd...@cloudbasesolutions.com>
Applied.
> ---
> 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)
> --
> 1.9.5.msysgit.0
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev