[PATCH] nsiproxy: Include sys/param.h
Gerald Pfeifer
gerald at pfeifer.com
Wed Aug 18 16:13:33 CDT 2021
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 at pfeifer.com>
---
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 27f85ee3104..2e147935151 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
--
2.31.1
More information about the wine-devel
mailing list