commit 81d7465fb65d23371c8bc333ce628f8e0fe383fb parent 8e72da5e2247271a2748e0d66434d016b69617dc Author: CNLohr <charles@cnlohr.com> Date: Wed, 21 Jun 2017 10:48:22 -0400 Update cnping.c Diffstat:
M | cnping.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/cnping.c b/cnping.c @@ -6,6 +6,9 @@ #include <errno.h> #include <string.h> #ifdef WIN32 +#ifdef _MSC_VER +#define strdup _strdup +#endif #include <windows.h> #else #include <sys/socket.h>