Acked-by: Anand Kumar <[email protected]> Thanks, Anand Kumar
On 11/1/17, 10:19 AM, "[email protected] on behalf of Alin Gabriel Serdean" <[email protected] on behalf of [email protected]> wrote: Starting from WDK 10 the structure `timespec` is defined in <time.h>. This patch adds a check for the structure to make <pthread.h> aware of it, so it doesn't try to redefine the structure. Signed-off-by: Alin Gabriel Serdean <[email protected]> --- m4/openvswitch.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 59e1352..01d2269 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -143,6 +143,7 @@ AC_DEFUN([OVS_CHECK_WIN32], ) AC_DEFINE([WIN32], [1], [Define to 1 if building on WIN32.]) + AC_CHECK_TYPES([struct timespec], [], [], [[#include <time.h>]]) AH_BOTTOM([#ifdef WIN32 #include "include/windows/windefs.h" #endif]) -- 2.10.2.windows.1 _______________________________________________ dev mailing list [email protected] https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=Q5z9tBe-nAOpE7LIHSPV8uy5-437agMXvkeHHMkR8Us&m=GdBPfaaFUD8pbXrME5Epp0sGJzUXA3u4N5uLubES69w&s=skamfHWdCL4EFouwbBMFa4uLdGfALlqnG0Sw3HZvumw&e= _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
