Gerald Pfeifer : nsiproxy: Include sys/param.h from udp.c.
Module: wine Branch: master Commit: fa6e791ca55246624ed0c5ad02dbdd6da75ab168 URL: https://source.winehq.org/git/wine.git/?a=commit;h=fa6e791ca55246624ed0c5ad0... Author: Gerald Pfeifer <gerald(a)FreeBSD.org> Date: Mon Sep 6 20:08:59 2021 +0200 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(a)FreeBSD.org> Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/nsiproxy.sys/udp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/nsiproxy.sys/udp.c b/dlls/nsiproxy.sys/udp.c index 112170782f7..a0ace071753 100644 --- a/dlls/nsiproxy.sys/udp.c +++ b/dlls/nsiproxy.sys/udp.c @@ -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
participants (1)
-
Alexandre Julliard