Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
06bb5905
Commit
06bb5905
authored
Dec 23, 2011
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threads: test for sys/param.h and include it for sysctl on OpenBSD
parent
1adba23c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
configure
configure
+2
-0
pthread.c
libavcodec/pthread.c
+3
-0
No files found.
configure
View file @
06bb5905
...
@@ -1140,6 +1140,7 @@ HAVE_LIST="
...
@@ -1140,6 +1140,7 @@ HAVE_LIST="
symver_gnu_asm
symver_gnu_asm
sysctl
sysctl
sys_mman_h
sys_mman_h
sys_param_h
sys_resource_h
sys_resource_h
sys_select_h
sys_select_h
sys_soundcard_h
sys_soundcard_h
...
@@ -2871,6 +2872,7 @@ check_header dxva2api.h
...
@@ -2871,6 +2872,7 @@ check_header dxva2api.h
check_header malloc.h
check_header malloc.h
check_header poll.h
check_header poll.h
check_header sys/mman.h
check_header sys/mman.h
check_header sys/param.h
check_header sys/resource.h
check_header sys/resource.h
check_header sys/select.h
check_header sys/select.h
check_header vdpau/vdpau.h
check_header vdpau/vdpau.h
...
...
libavcodec/pthread.c
View file @
06bb5905
...
@@ -37,6 +37,9 @@
...
@@ -37,6 +37,9 @@
#elif HAVE_GETSYSTEMINFO
#elif HAVE_GETSYSTEMINFO
#include <windows.h>
#include <windows.h>
#elif HAVE_SYSCTL
#elif HAVE_SYSCTL
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <sys/types.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/sysctl.h>
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment