]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: add WIN32_LEAN_AND_MEAN fix
authorMoises Silva <moy@sangoma.com>
Thu, 27 Jan 2011 22:27:50 +0000 (17:27 -0500)
committerMoises Silva <moy@sangoma.com>
Thu, 27 Jan 2011 22:27:50 +0000 (17:27 -0500)
libs/freetdm/cyginstall.sh [changed mode: 0644->0755]
libs/freetdm/src/include/private/ftdm_core.h

old mode 100644 (file)
new mode 100755 (executable)
index 7cf0934f571d545d56652366e7141d2ef2aa21fb..ba16c7cb7ff02c8b643c7bdd6cb3fec3505e7c52 100644 (file)
                           !strcasecmp(expr, "active") ||       \
                           atoi(expr))) ? 1 : 0
 
-
+#ifdef WIN32_LEAN_AND_MEAN
+#include <winsock2.h>
+#include <mmsystem.h>
+#endif
 
 #include <time.h>
 #ifndef __WINDOWS__