summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2013-12-19 18:23:12 +0000
committerBen Pfaff <blp@nicira.com>2013-12-27 08:03:52 -0800
commite42dfc72258c0b563a16ec36c9230287fbbcc7ae (patch)
tree31ce408cb71ccad93f7001cc4228e71bc4fdc314 /m4
parent9c6c453eb7f5c4341f0b73aa2900517e23ec5518 (diff)
downloadopenvswitch-e42dfc72258c0b563a16ec36c9230287fbbcc7ae.tar.gz
Add common definitions for Windows builds.
Signed-off-by: Alin Serdean <aserdean at cloudbasesolutions.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index b8157c045..ee7e96a8d 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -64,6 +64,9 @@ AC_DEFUN([OVS_CHECK_WIN32],
AM_CONDITIONAL([WIN32], [test "$WIN32" = yes])
if test "$WIN32" = yes; then
AC_DEFINE([WIN32], [1], [Define to 1 if building on WIN32.])
+ AH_BOTTOM([#ifdef WIN32
+#include "include/windows/windefs.h"
+#endif])
fi])
dnl Checks for Netlink support.