aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-02-23 14:56:49 +0200
committerMartin Storsjö <martin@martin.st>2022-03-16 14:12:49 +0200
commita78f136f3fa039fd7ad664fd6e6e976f1448c68b (patch)
tree071be1991a6b641284543e77dbb82a0dcfc8f35d /libavdevice
parentf3a0e2ee2b97e2d46b351c29853c056d126884e2 (diff)
downloadffmpeg-a78f136f3fa039fd7ad664fd6e6e976f1448c68b.tar.gz
configure: Use a separate config_components.h header for $ALL_COMPONENTS
This avoids unnecessary rebuilds of most source files if only the list of enabled components has changed, but not the other properties of the build, set in config.h. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/alsa.c2
-rw-r--r--libavdevice/iec61883.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libavdevice/alsa.c b/libavdevice/alsa.c
index 5396858427..b055f6c1a6 100644
--- a/libavdevice/alsa.c
+++ b/libavdevice/alsa.c
@@ -28,6 +28,8 @@
* @author Nicolas George ( nicolas george normalesup org )
*/
+#include "config_components.h"
+
#include <alsa/asoundlib.h>
#include "avdevice.h"
#include "libavutil/avassert.h"
diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c
index 72e14abff2..7223ba2e64 100644
--- a/libavdevice/iec61883.c
+++ b/libavdevice/iec61883.c
@@ -23,6 +23,8 @@
* libiec61883 interface
*/
+#include "config_components.h"
+
#include <poll.h>
#include <libraw1394/raw1394.h>
#include <libavc1394/avc1394.h>