aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/oss.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-09-26 16:57:17 +0200
committerDiego Biurrun <diego@biurrun.de>2017-10-10 23:20:17 +0200
commitb586903ae1b89e2d8b99c79f33cabe9b3ca03784 (patch)
treed5edf7150c66dc7751fd402f8555def112a86833 /libavdevice/oss.c
parent8e97a8c69162afce47abea96c8c0914f3550e212 (diff)
downloadffmpeg-b586903ae1b89e2d8b99c79f33cabe9b3ca03784.tar.gz
build: Drop redundant check for soundcard.h
It should be sys/soundcard.h nowadays.
Diffstat (limited to 'libavdevice/oss.c')
-rw-r--r--libavdevice/oss.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavdevice/oss.c b/libavdevice/oss.c
index eb8d454422..e504438124 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"