the common.h include is implied by common/error.h so force it at the top (for PCH) remove dependencies implied by using common.h

This commit is contained in:
Steve Lhomme 2010-03-13 16:34:26 +01:00 committed by Moritz Bunkus
parent 54de6b745f
commit 322024d5ed
9 changed files with 11 additions and 18 deletions

View File

@ -11,7 +11,7 @@
Written by Moritz Bunkus <moritz@bunkus.org>.
*/
#include "common/os.h"
#include "common/common.h"
#include "common/bitvalue.h"
#include "common/error.h"

View File

@ -12,12 +12,10 @@
\author Written by Moritz Bunkus <moritz@bunkus.org>.
*/
#include "common/os.h"
#include "common/common.h"
#include <algorithm>
#include <boost/regex.hpp>
#include <cassert>
#include <string>
#include <matroska/KaxChapters.h>

View File

@ -13,11 +13,11 @@
Vegard Pettersen <vegard_p@broadpark.no>
*/
#include "common/common.h"
#include <ctype.h>
#include <stdarg.h>
#include <string>
#include <matroska/KaxChapters.h>
#include <matroska/KaxTag.h>
#include <matroska/KaxTags.h>

View File

@ -11,12 +11,12 @@
Written by Moritz Bunkus <moritz@bunkus.org>.
*/
#include "common/common.h"
#include <expat.h>
#include <ctype.h>
#include <stdarg.h>
#include <string>
#include <matroska/KaxChapters.h>
#include "common/chapters/chapters.h"

View File

@ -15,7 +15,7 @@
#ifndef __MTX_COMMON_KATE_COMMON_H
#define __MTX_COMMON_KATE_COMMON_H
#include "common/os.h"
#include "common/common.h"
#include "common/error.h"

View File

@ -14,9 +14,7 @@
#ifndef __MTX_COMMON_LOCALE_STRING_H
#define __MTX_COMMON_LOCALE_STRING_H
#include "common/os.h"
#include <string>
#include "common/common.h"
#include "common/error.h"

View File

@ -14,9 +14,8 @@
#ifndef __MTX_COMMON_MM_IO_H
#define __MTX_COMMON_MM_IO_H
#include "common/os.h"
#include "common/common.h"
#include <string>
#include <stack>
#if HAVE_POSIX_FADVISE
# include <unistd.h>

View File

@ -14,7 +14,7 @@
#ifndef __MTX_COMMON_THEORA_COMMON_H
#define __MTX_COMMON_THEORA_COMMON_H
#include "common/os.h"
#include "common/common.h"
#include "common/error.h"

View File

@ -15,12 +15,10 @@
#ifndef __PR_GENERIC_H
#define __PR_GENERIC_H
#include "common/os.h"
#include "common/common.h"
#include <boost/logic/tribool.hpp>
#include <deque>
#include <map>
#include <vector>
#include <matroska/KaxAttachments.h>
#include <matroska/KaxBlock.h>