$NetBSD: patch-window.h,v 1.3 2021/02/12 22:53:14 cjep Exp $ OpenBSD grumbles without the socket definitions --- window.h.orig Wed Feb 5 20:09:38 2020 +++ window.h Thu Feb 11 21:27:43 2021 @@ -33,6 +33,10 @@ #ifndef SCREEN_WINDOW_H #define SCREEN_WINDOW_H +#ifdef __OpenBSD__ +#include +#endif + /* keep this in sync with the initialisations in window.c */ struct NewWindow {