summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/checkutils.h2
-rw-r--r--src/utils/cpu.cpp2
-rw-r--r--src/utils/langs.cpp5
-rw-r--r--src/utils/langs.h3
-rw-r--r--src/utils/mkdir.cpp2
-rw-r--r--src/utils/paths.cpp2
-rw-r--r--src/utils/physfsrwops.h2
-rw-r--r--src/utils/physfstools.cpp2
-rw-r--r--src/utils/process.cpp2
-rw-r--r--src/utils/stringutils.cpp1
-rw-r--r--src/utils/translation/podict.cpp1
-rw-r--r--src/utils/xml.cpp2
-rw-r--r--src/utils/xml.h1
13 files changed, 1 insertions, 26 deletions
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h
index f55ecaece..ed21bda0a 100644
--- a/src/utils/checkutils.h
+++ b/src/utils/checkutils.h
@@ -21,8 +21,6 @@
#ifndef UTILS_CHECKUTILS_H
#define UTILS_CHECKUTILS_H
-#include <string>
-
bool reportFalseReal(const bool val, const char *const file,
const unsigned line);
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index e967a5672..7f78341b5 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -24,8 +24,6 @@
#include "utils/stringutils.h"
-#include "resources/resourcemanager.h"
-
#include "debug.h"
int mCpuFlags = 0;
diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp
index 5b8d979a1..6e0390494 100644
--- a/src/utils/langs.cpp
+++ b/src/utils/langs.cpp
@@ -22,11 +22,6 @@
#include "configuration.h"
-#include <algorithm>
-#include <cstdarg>
-#include <cstdio>
-#include <list>
-
#include "debug.h"
LangVect getLang()
diff --git a/src/utils/langs.h b/src/utils/langs.h
index a59712048..608ae7d05 100644
--- a/src/utils/langs.h
+++ b/src/utils/langs.h
@@ -22,9 +22,6 @@
#define UTILS_LANGS_H
#include <string>
-#include <sstream>
-#include <list>
-#include <set>
#include <vector>
#include "localconsts.h"
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index c723e3321..d61fae919 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -21,9 +21,7 @@
#include "utils/mkdir.h"
-#include <climits>
#include <cstring>
-#include <cerrno>
#if defined WIN32
#include <windows.h>
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp
index c7542829f..dd045cb5a 100644
--- a/src/utils/paths.cpp
+++ b/src/utils/paths.cpp
@@ -30,8 +30,6 @@
#include "resources/resourcemanager.h"
-#include <cstdarg>
-#include <cstdio>
#include <stdlib.h>
#ifdef WIN32
diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h
index 7e859a234..11b44a185 100644
--- a/src/utils/physfsrwops.h
+++ b/src/utils/physfsrwops.h
@@ -25,7 +25,7 @@
#ifndef UTILS_PHYSFSRWOPS_H
#define UTILS_PHYSFSRWOPS_H
-#include <SDL.h>
+#include <SDL_rwops.h>
#include "utils/physfstools.h"
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp
index d15932274..0a6756a78 100644
--- a/src/utils/physfstools.cpp
+++ b/src/utils/physfstools.cpp
@@ -20,8 +20,6 @@
#include "utils/physfstools.h"
-#include "logger.h"
-
const char *dirSeparator = nullptr;
namespace PhysFs
diff --git a/src/utils/process.cpp b/src/utils/process.cpp
index 4a447848c..37670b18b 100644
--- a/src/utils/process.cpp
+++ b/src/utils/process.cpp
@@ -28,8 +28,6 @@
#include "localconsts.h"
-#include "utils/stringutils.h"
-
#include "debug.h"
const int timeOut = 10;
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 09cd41fc2..c5ac71d28 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -28,7 +28,6 @@
#include <cstdio>
#include <list>
-#include <sys/time.h>
#include <ctype.h>
#include "debug.h"
diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp
index 8b6fb434e..3941e776e 100644
--- a/src/utils/translation/podict.cpp
+++ b/src/utils/translation/podict.cpp
@@ -21,7 +21,6 @@
#include "utils/translation/podict.h"
#include "localconsts.h"
-#include "logger.h"
#include "debug.h"
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index d19c466d1..43e5be34b 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -30,9 +30,7 @@
#include "utils/translation/podict.h"
-#include <iostream>
#include <fstream>
-#include <cstring>
#include "debug.h"
diff --git a/src/utils/xml.h b/src/utils/xml.h
index d67747659..a0a563498 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -23,7 +23,6 @@
#ifndef UTILS_XML_H
#define UTILS_XML_H
-#include <libxml/encoding.h>
#include <libxml/xmlwriter.h>
#include <libxml/tree.h>