Module: wine Branch: master Commit: 20c4149e7241d413d16b70b6cf058d52145c15cd URL: https://source.winehq.org/git/wine.git/?a=commit;h=20c4149e7241d413d16b70b6c...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Wed Aug 18 23:13:33 2021 +0200
nsiproxy: Include sys/param.h.
This fixes
In file included from dlls/nsiproxy.sys/tcp.c:70: /usr/include/libprocstat.h:130:36: error: 'SPECNAMELEN' undeclared here 130 | char vn_devname[SPECNAMELEN + 1];
on FreeBSD 11 and presumably other targets.
Signed-off-by: Gerald Pfeifer gerald@pfeifer.com Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/nsiproxy.sys/tcp.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/nsiproxy.sys/tcp.c b/dlls/nsiproxy.sys/tcp.c index 3d0f3a67dd7..eda438318f0 100644 --- a/dlls/nsiproxy.sys/tcp.c +++ b/dlls/nsiproxy.sys/tcp.c @@ -22,6 +22,10 @@ #include "config.h" #include <stdarg.h>
+#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif + #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif