diff options
author | Simon Ruderich <simon@ruderich.org> | 2016-02-07 16:35:00 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2016-02-07 17:57:37 +0100 |
commit | 263d9c6c8d490b2018c7c02dfb168897270286c1 (patch) | |
tree | 7c0feffb645a4bc69a97af774aba2a8d353fa575 /src/window.h | |
parent | 42745c6ac1d803cfc92291e5b18d982aacf8dc4f (diff) | |
download | screen-263d9c6c8d490b2018c7c02dfb168897270286c1.tar.gz |
make all header files self-contained and include it in the source file
Including the header in the source file guarantees matching signatures,
thus preventing subtle errors.
Self-contained headers document the required headers and makes using it
easier to use the header in new source files.
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h index 8d3567f..530c5d9 100644 --- a/src/window.h +++ b/src/window.h @@ -33,9 +33,13 @@ #ifndef SCREEN_WINDOW_H #define SCREEN_WINDOW_H +#include "config.h" + #include "sched.h" #include "logfile.h" #include "screen.h" +#include "layer.h" +#include "display.h" struct NewWindow { int StartAt; /* where to start the search for the slot */ |