unused includes (#1133)

* unused includes

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* Use consistent order of includes

Always include in the following order:
- Own header files
- Standard header files
- System header files
- Project header files (toolkit first)

Exceptions:
- cppunit/extensions/HelperMacros.h must be included after
  header files declaring stream operators
- config.h must be included before its definitions are used

---------

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: Urs Fleisch <ufleisch@users.sourceforge.net>
This commit is contained in:
Rosen Penev
2023-09-15 23:22:36 -07:00
committed by GitHub
parent 2dc1aa4ec9
commit 7646184d6b
185 changed files with 292 additions and 433 deletions

View File

@ -19,13 +19,18 @@
* USA *
***************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "tag_c.h"
#include <cstdlib>
#include "fileref.h"
#include <cstring>
#include <utility>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "tfile.h"
#include "tpropertymap.h"
#include "fileref.h"
#include "asffile.h"
#include "vorbisfile.h"
#include "mpegfile.h"
@ -37,12 +42,7 @@
#include "trueaudiofile.h"
#include "mp4file.h"
#include "tag.h"
#include <cstring>
#include <utility>
#include "id3v2framefactory.h"
#include "tpropertymap.h"
#include "tag_c.h"
using namespace TagLib;