From 49e04890ad2fb4863f3dcd9c82eedf7360fe83e3 Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Fri, 5 May 2017 20:20:40 +0000 Subject: windows: Add definition for EPFNOSUPPORT. The Windows build is failing because EPFNOSUPPORT does not exist. An equivalent is supplied using the WinSock API: WSAEPFNOSUPPORT. Signed-off-by: Alin Gabriel Serdean Acked-by: Sairam Venugopal Acked-by: Shashank Ram Signed-off-by: Gurucharan Shetty --- include/windows/windefs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/windows') diff --git a/include/windows/windefs.h b/include/windows/windefs.h index 5137f073c..6ed8d8722 100644 --- a/include/windows/windefs.h +++ b/include/windows/windefs.h @@ -45,4 +45,6 @@ char *strsep(char **stringp, const char *delim); #define srandom srand #define random rand +#define EPFNOSUPPORT WSAEPFNOSUPPORT + #endif /* windefs.h */ -- cgit v1.2.1