Skip to content

Commit

Permalink
contrib: fix building x265 on OpenBSD and other OS's (HandBrake#4567)
Browse files Browse the repository at this point in the history
  • Loading branch information
brad0 authored Sep 26, 2022
1 parent 4854e2c commit 33f8f31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 10 additions & 0 deletions contrib/x265/A06-common-threading.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/source/common/threading.h 2022-09-24 23:13:02.251953004 -0400
+++ b/source/common/threading.h 2022-09-24 23:13:36.912210668 -0400
@@ -37,6 +37,7 @@
#include <semaphore.h>
#include <errno.h>
#include <fcntl.h>
+#include <sys/stat.h>
#endif

#if MACOS
12 changes: 0 additions & 12 deletions contrib/x265/P00-freebsd-common-threading.patch

This file was deleted.

0 comments on commit 33f8f31

Please sign in to comment.