From bf81d5d5b37a93fbf2373d2dbfd2f94774c67f13 Mon Sep 17 00:00:00 2001 From: Nathan Caldwell Date: Wed, 23 Jan 2008 21:16:21 -0700 Subject: [PATCH] Move config.h to be the first include, so we get our defines before system includes. --- src/chapters.c | 2 +- src/ebml.c | 2 +- src/matroska.c | 2 +- src/tracks.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chapters.c b/src/chapters.c index c1f566b..272c30f 100644 --- a/src/chapters.c +++ b/src/chapters.c @@ -20,9 +20,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ +#include "config.h" #include "libmkv.h" #include "matroska.h" -#include "config.h" int mk_createChapterSimple(mk_Writer *w, uint64_t start, uint64_t end, char *name) { diff --git a/src/ebml.c b/src/ebml.c index 2354b24..f3c8f85 100644 --- a/src/ebml.c +++ b/src/ebml.c @@ -21,9 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ +#include "config.h" #include "libmkv.h" #include "matroska.h" -#include "config.h" mk_Context *mk_createContext(mk_Writer *w, mk_Context *parent, unsigned id) { mk_Context *c; diff --git a/src/matroska.c b/src/matroska.c index 1f9b968..b92197f 100644 --- a/src/matroska.c +++ b/src/matroska.c @@ -21,9 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ +#include "config.h" #include "libmkv.h" #include "matroska.h" -#include "config.h" int mk_seekFile(mk_Writer *w, uint64_t pos) { if (fseek(w->fp, pos, SEEK_SET)) diff --git a/src/tracks.c b/src/tracks.c index 0e87340..2152261 100644 --- a/src/tracks.c +++ b/src/tracks.c @@ -21,9 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ +#include "config.h" #include "libmkv.h" #include "matroska.h" -#include "config.h" /* TODO: Figure out what can actually fail without damaging the track. */ -- 2.11.4.GIT