Sat, 01 Sep 2012 12:17:10 +0200
Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.
michael@37 | 1 | Index: random/unix.c |
michael@37 | 2 | --- random/unix.c.orig 2005-08-23 00:48:20 +0200 |
michael@37 | 3 | +++ random/unix.c 2005-09-06 20:55:10 +0200 |
michael@37 | 4 | @@ -24,6 +24,9 @@ |
michael@37 | 5 | #include <stdio.h> |
michael@37 | 6 | #include <string.h> |
michael@37 | 7 | #include <time.h> |
michael@37 | 8 | +#ifdef __FreeBSD__ |
michael@37 | 9 | +#include <pthread.h> |
michael@37 | 10 | +#endif |
michael@37 | 11 | #include "crypt.h" |
michael@37 | 12 | |
michael@37 | 13 | /* Unix and Unix-like systems share the same makefile, make sure that the |