Subject: Re: pkg/33893: security/tct does not build on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 07/01/2006 19:10:02
The following reply was made to PR pkg/33893; it has been noted by GNATS.
From: joerg@britannica.bec.de
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/33893: security/tct does not build on Linux
Date: Sat, 1 Jul 2006 21:06:29 +0200
On Sat, Jul 01, 2006 at 07:05:01PM +0000, svs+pr@grep.ru wrote:
> --- src/file/file.c.orig 2000-07-30 23:39:20.000000000 +0000
> +++ src/file/file.c
> @@ -32,6 +32,7 @@ static char *moduleid =
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> +#include <sys/errno.h>
> #include <sys/types.h>
> #include <sys/param.h> /* for MAXPATHLEN */
> #include <sys/stat.h>
[snip]
*NEVER* include sys/errno.h. Use errno.h. Sorry, can't test this.
Joerg