via: 189db0e7ad0f4ef29ffa703114ff1d94a20d0b8f (commit)
from: 1842798e95eeeed61604455ebcd5001bdf35eeb1 (commit)
= COMMIT LOG ===========================================================
committer: Moises Silva
comments:
freetdm: add WIN32_LEAN_AND_MEAN fix
diff --git a/libs/freetdm/cyginstall.sh b/libs/freetdm/cyginstall.sh
old mode 100644
new mode 100755
diff --git a/libs/freetdm/src/include/private/ftdm_core.h b/libs/freetdm/src/include/private/ftdm_core.h
index 7cf0934..ba16c7c 100644
--- a/libs/freetdm/src/include/private/ftdm_core.h
+++ b/libs/freetdm/src/include/private/ftdm_core.h
@@ -94,7 +94,10 @@
!strcasecmp(expr, "active") || \
atoi(expr))) ? 1 : 0
-
+#ifdef WIN32_LEAN_AND_MEAN
+#include <winsock2.h>
+#include <mmsystem.h>
+#endif
#include <time.h>
#ifndef __WINDOWS__
Summary of changes: libs/freetdm/src/include/private/ftdm_core.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) mode change 100644 => 100755 libs/freetdm/cyginstall.sh
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source