aboutsummaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-src-tspi-tsp_tcsi_param.c
blob: 5aae426603a10e967ab701e48a9a55de9894820a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/tspi/tsp_tcsi_param.c.orig	2014-04-24 18:05:44 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"