From: Dana Jansens Date: Fri, 12 Jul 2002 00:25:04 +0000 (+0000) Subject: add header for perror() X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cf3d512a998151bd585906c7478b576d5d3877ff;p=chaz%2Fopenbox add header for perror() --- diff --git a/util/epist/epist.cc b/util/epist/epist.cc index 7bb16d93..63a31920 100644 --- a/util/epist/epist.cc +++ b/util/epist/epist.cc @@ -30,6 +30,10 @@ extern "C" { # include #endif // HAVE_UNISTD_H +#ifdef HAVE_STDIO_H +# include +#endif // HAVE_STDIO_H + #ifdef HAVE_STDLIB_H # include #endif // HAVE_STDLIB_H @@ -173,6 +177,7 @@ int main(int argc, char **argv) { } } + XSelectInput(_display, _root, None); delete _xatom; XCloseDisplay(_display); return 0;