nsiproxy: Include sys/param.h from udp.c.
udp.c features specific code to handle versions of FreeBSD past early 12.0 snapshots. This is guarded by a check on __FreeBSD_version which is defined in sys/param.h. Actually including that, like tcp.c already does, activates that check and adjusted code and unbreaks the build. Signed-off-by: Gerald Pfeifer <gerald@FreeBSD.org> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0db1d906f5
commit
fa6e791ca5
|
@ -22,6 +22,10 @@
|
|||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue