From 63d026b1bf6d5cb7d93b97f650631188b7dd5424 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sat, 15 Mar 2008 16:17:02 +0000
Subject: [PATCH] cosmetics: #include config.h before all other FFmpeg headers.

Originally committed as revision 12450 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 cmdutils.c              | 2 +-
 libavdevice/libdc1394.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 41343bb66b6..292a290750a 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -24,13 +24,13 @@
 #include <errno.h>
 #include <math.h>
 
+#include "config.h"
 #include "avformat.h"
 #include "avfilter.h"
 #include "avdevice.h"
 #include "cmdutils.h"
 #include "avstring.h"
 #include "version.h"
-#include "config.h"
 
 #undef exit
 
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index 1227aed5e96..36257f083cd 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "avformat.h"
 #include "config.h"
+#include "avformat.h"
 
 #if ENABLE_LIBDC1394_2
 #include <dc1394/dc1394.h>
-- 
GitLab