It should be sys/soundcard.h nowadays.
---
configure | 4 +---
libavdevice/oss.c | 8 +-------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
index fa8146c464..10460e61b8 100755
--- a/configure
+++ b/configure
@@ -1570,7 +1570,6 @@ HEADERS_LIST="
machine_ioctl_meteor_h
malloc_h
poll_h
- soundcard_h
stdatomic_h
sys_param_h
sys_resource_h
@@ -2457,7 +2456,7 @@ jack_indev_deps="libjack"
jack_indev_deps_any="sem_timedwait dispatch_dispatch_h"
libcdio_indev_deps="libcdio"
libdc1394_indev_deps="libdc1394"
-oss_indev_deps_any="soundcard_h sys_soundcard_h"
+oss_indev_deps="sys_soundcard_h"
pulse_indev_deps="libpulse"
sndio_indev_deps="sndio"
v4l2_indev_deps_any="linux_videodev2_h sys_videoio_h"
@@ -4842,7 +4841,6 @@ check_cpp_condition vfw.h "WM_CAP_DRIVER_CONNECT >
WM_USER" && enable vfwcap_def
check_header dev/ic/bt8xx.h
check_header sys/soundcard.h
-check_header soundcard.h
enabled alsa_indev &&
check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound
diff --git a/libavdevice/oss.c b/libavdevice/oss.c
index 6b6905dff6..e2f0e87eac 100644
--- a/libavdevice/oss.c
+++ b/libavdevice/oss.c
@@ -22,16 +22,10 @@
#include "config.h"
#include <string.h>
-
-#if HAVE_SOUNDCARD_H
-#include <soundcard.h>
-#else
-#include <sys/soundcard.h>
-#endif
-
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#include <sys/soundcard.h>
#include "libavutil/log.h"
#include "libavutil/opt.h"
--
2.11.0
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel