add header for perror()
This commit is contained in:
parent
31732c1574
commit
cf3d512a99
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue