summaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-src_tspi_tsp__tcsi__param.c
blob: aa975ed99421176eec5c9992fcc08510862a9db8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/tspi/tsp_tcsi_param.c.orig	2016-06-20 15:21:26 UTC
+++ src/tspi/tsp_tcsi_param.c
@@ -11,7 +11,12 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#if !defined(__FreeBSD__)
 #include <bits/local_lim.h>
+#else
+#include <sys/param.h>
+#define	HOST_NAME_MAX	MAXHOSTNAMELEN
+#endif
 #include "trousers/tss.h"
 #include "trousers/trousers.h"
 #include "trousers_types.h"