diff options
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,8 +110,10 @@ main(int argc, char **argv) xfd = x_init(display_name); cwm_status = CWM_RUNNING; +#ifdef __OpenBSD__ if (pledge("stdio rpath proc exec", NULL) == -1) err(1, "pledge"); +#endif memset(&pfd, 0, sizeof(pfd)); pfd[0].fd = xfd; |