diff -ru slim-1.3.1/switchuser.h slim-patched/switchuser.h --- slim-1.3.1/switchuser.h 2008-11-11 19:40:18.000000000 +0000 +++ slim-patched/switchuser.h 2008-11-11 19:40:28.000000000 +0000 @@ -18,6 +18,7 @@ #include <pwd.h> #include <grp.h> #include <paths.h> +#include <cstdio> #include <iostream> #include "const.h" #include "cfg.h"