$OpenBSD: patch-frontend_common_src_ScreenLockCommandline_cc,v 1.1 2021/03/03 09:35:08 ajacoutot Exp $

ScreenLockCommandline.cc:70:14: error: use of undeclared identifier 'WEXITSTATUS'

Index: frontend/common/src/ScreenLockCommandline.cc
--- frontend/common/src/ScreenLockCommandline.cc.orig
+++ frontend/common/src/ScreenLockCommandline.cc
@@ -27,6 +27,8 @@
 #include <glib.h>
 #endif
 
+#include <sys/wait.h>
+
 #include "ScreenLockCommandline.hh"
 #include "debug.hh"
 
