nsiproxy: Include sys/socket.h.

This addresses

  invalid use of undefined type 'struct sock addr'

and AF_INET being unknown when building on FreeBSD 11.x.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gerald Pfeifer 2021-07-22 12:21:43 +02:00 committed by Alexandre Julliard
parent ccb6fbba76
commit 49a1f9cf28
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@
#include "config.h"
#include <stdarg.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif