summaryrefslogtreecommitdiffstats
path: root/ktnef/gui
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-02 01:42:02 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-02 01:42:14 +0100
commit7465301962f51ca6503333273403e82b459f89c2 (patch)
tree35e3209367a3547455b74f8edb1551a26691ef5a /ktnef/gui
parentceff6f25c3dd35779072a78b3262402be50d168a (diff)
downloadtdepim-7465301962f51ca6503333273403e82b459f89c2.tar.gz
tdepim-7465301962f51ca6503333273403e82b459f89c2.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1458cc35b20c25c30db011c3ce958b7bd5d62c34)
Diffstat (limited to 'ktnef/gui')
-rw-r--r--ktnef/gui/CMakeLists.txt1
-rw-r--r--ktnef/gui/qwmf.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/ktnef/gui/CMakeLists.txt b/ktnef/gui/CMakeLists.txt
index 57527c9a1..a89cedbf4 100644
--- a/ktnef/gui/CMakeLists.txt
+++ b/ktnef/gui/CMakeLists.txt
@@ -15,6 +15,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/ktnef
${CMAKE_SOURCE_DIR}/libtdepim
+ ${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/ktnef/gui/qwmf.cpp b/ktnef/gui/qwmf.cpp
index 37eaa1704..e4baf41d2 100644
--- a/ktnef/gui/qwmf.cpp
+++ b/ktnef/gui/qwmf.cpp
@@ -17,6 +17,8 @@
* MA 02110-1301, USA.
*/
+#include <config.h>
+
#include <math.h>
#include <assert.h>
#include <tqfileinfo.h>