scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo().

This commit is contained in:
Martin Ling 2013-12-06 03:20:48 +00:00
parent 1c6736ab86
commit 0f4a435057
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _WIN32_WINNT 0x0501
#include "libsigrok.h"
#include "libsigrok-internal.h"