pkgsrc/misc/screen/patches/patch-window.h
2021-02-12 22:53:14 +00:00

17 lines
401 B
C

$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 <sys/socket.h>
+#endif
+
/* keep this in sync with the initialisations in window.c */
struct NewWindow
{