freebsd-ports/security/didentd/files/patch-get_info4_freebsd.c
Erwin Lansing 0ca18c7143 Fix build on 5.x
When attempting to build the didentd port on FreeBSD 5.1-R, it
fails in get_info4.c and get_info6.c with a complaint that it
does not know the size of variable 'uc'.

PR:		56332
Submitted by:	Pat Lashley <patl+freebsd@volant.org>
Approved by:	maintainer timeout (3 weeks)
2003-09-24 08:17:35 +00:00

10 lines
227 B
C

--- get_info4_freebsd.c.orig Sun Oct 14 07:57:15 2001
+++ get_info4_freebsd.c Thu Sep 4 17:00:32 2003
@@ -7,6 +7,7 @@
*
*/
+#define _WANT_UCRED 1
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/socket.h>