$OpenBSD: patch-third_party_brotli_common_platform_h,v 1.1 2019/04/17 11:48:54 robert Exp $

Index: third_party/brotli/common/platform.h
--- third_party/brotli/common/platform.h.orig
+++ third_party/brotli/common/platform.h
@@ -29,7 +29,7 @@
 #include <brotli/port.h>
 #include <brotli/types.h>
 
-#if defined(OS_LINUX) || defined(OS_CYGWIN)
+#if defined(OS_LINUX) || defined(OS_CYGWIN) || defined(OS_BSD)
 #include <endian.h>
 #elif defined(OS_FREEBSD)
 #include <machine/endian.h>
