Skip to content

Commit

Permalink
Include headers when using ovs_rundir
Browse files Browse the repository at this point in the history
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 <aserdean@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
  • Loading branch information
Alin Serdean authored and shettyg committed Sep 23, 2015
1 parent f821fe7 commit 9880874
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/stream-tcp.c
Expand Up @@ -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)
Expand Down

0 comments on commit 9880874

Please sign in to comment.