summaryrefslogtreecommitdiff
path: root/include/windows
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2014-03-12 13:43:52 -0700
committerGurucharan Shetty <gshetty@nicira.com>2014-03-17 14:20:48 -0700
commit48aa31aa4ea7f05371e1b501b2de2afb9757c621 (patch)
tree88f6e6abd5f44eaa5315c2a39b54f1da7ec924f1 /include/windows
parentd0b99d38edaba6e744a5787b990e7b989684e179 (diff)
downloadopenvswitch-48aa31aa4ea7f05371e1b501b2de2afb9757c621.tar.gz
windefs: Include the library advapi32.
advapi32 is needed by multiple functions So include it in a common place. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/windows')
-rw-r--r--include/windows/windefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/windows/windefs.h b/include/windows/windefs.h
index 0a2e06411..948462bd6 100644
--- a/include/windows/windefs.h
+++ b/include/windows/windefs.h
@@ -24,6 +24,8 @@
#include <BaseTsd.h>
#include <io.h>
+#pragma comment(lib, "advapi32")
+
#define inline __inline
#define __func__ __FUNCTION__
#define ssize_t SSIZE_T