diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wayclock.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc index a398993..0e39169 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -1,3 +1,10 @@ +#include <wayland-client.h> + int main() { - + struct wl_display *disp = wl_display_connect(NULL); + if (!disp) { + return -1; + } + wl_display_disconnect(disp); + return 0; }
\ No newline at end of file |
