diff --git a/srcpkgs/barrier/patches/4b12265ae5d324b942698a3177e1d8b1749414d7.patch b/srcpkgs/barrier/patches/4b12265ae5d324b942698a3177e1d8b1749414d7.patch new file mode 100644 index 00000000000..0fe38f87522 --- /dev/null +++ b/srcpkgs/barrier/patches/4b12265ae5d324b942698a3177e1d8b1749414d7.patch @@ -0,0 +1,23 @@ +From 4b12265ae5d324b942698a3177e1d8b1749414d7 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Tue, 2 Nov 2021 20:59:51 +0000 +Subject: [PATCH] Add missing cstddef includes for NULL + +Fixes https://github.com/debauchee/barrier/issues/1366. +--- + src/lib/base/Event.h | 2 ++ + 2 files changed, 3 insertions(+) + +diff --git a/src/lib/base/Event.h b/src/lib/base/Event.h +index 38a2cf1129..cb00dccbbc 100644 +--- a/src/lib/base/Event.h ++++ b/src/lib/base/Event.h +@@ -21,6 +21,8 @@ + #include "common/basic_types.h" + #include "common/stdmap.h" + ++#include ++ + class EventData { + public: + EventData() { }