add header for perror()
authorDana Jansens <danakj@orodu.net>
Fri, 12 Jul 2002 00:25:04 +0000 (00:25 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 12 Jul 2002 00:25:04 +0000 (00:25 +0000)
util/epist/epist.cc

index 7bb16d9..63a3192 100644 (file)
@@ -30,6 +30,10 @@ extern "C" {
 #  include <unistd.h>
 #endif // HAVE_UNISTD_H
 
+#ifdef    HAVE_STDIO_H
+#  include <stdio.h>
+#endif // HAVE_STDIO_H
+
 #ifdef    HAVE_STDLIB_H
 #  include <stdlib.h>
 #endif // HAVE_STDLIB_H
@@ -173,6 +177,7 @@ int main(int argc, char **argv) {
     }
   }
 
+  XSelectInput(_display, _root, None);
   delete _xatom;
   XCloseDisplay(_display);
   return 0;