--- yapet-0.6/yapet/pwgen/rng.cc.orig 2009-09-04 21:54:54.287587639 +0200 +++ yapet-0.6/yapet/pwgen/rng.cc 2009-09-04 21:55:32.575747627 +0200 @@ -42,6 +42,10 @@ # include #endif +#ifdef HAVE_STDIO_H +# include +#endif + #ifdef HAVE_STDLIB_H # include #endif