1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/security/didentd/files/patch-get_info6_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

11 lines
260 B
C

--- get_info6_freebsd.c.orig Fri Oct 12 14:27:48 2001
+++ get_info6_freebsd.c Thu Sep 4 17:01:19 2003
@@ -10,6 +10,7 @@
*
*/
+#define _WANT_UCRED 1
#include <unistd.h> /* for close */
#include <pwd.h> /* for getpwuid */