Port to meson

This commit is contained in:
cælōrum spectātrīx 2026-01-22 20:56:26 +01:00
parent 24acf99fe3
commit 8d3f12fd36
5 changed files with 36 additions and 686 deletions

View file

@ -110,8 +110,10 @@ main(int argc, char **argv)
xfd = x_init(display_name);
cwm_status = CWM_RUNNING;
/* if (pledge("stdio rpath proc exec", NULL) == -1) */
/* err(1, "pledge"); */
#ifdef HAVE_PLEDGE
if (pledge("stdio rpath proc exec", NULL) == -1)
err(1, "pledge");
#endif /* HAVE_PLEDGE */
memset(&pfd, 0, sizeof(pfd));
pfd[0].fd = xfd;