summaryrefslogtreecommitdiffstats
path: root/kopete/protocols
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-03 13:17:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-03 13:17:59 +0100
commit027e2601390af9f3bcd6c233458174657915ef61 (patch)
tree5dd3fd58b5a0a2a466230b506984ab803a66458f /kopete/protocols
parent80fc48ed46af348718218ca1f77df2dc13e39edf (diff)
downloadtdenetwork-027e2601390af9f3bcd6c233458174657915ef61.tar.gz
tdenetwork-027e2601390af9f3bcd6c233458174657915ef61.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ed71acf6dcd9380590048fc5c6eb9fd22cb3b9c5)
Diffstat (limited to 'kopete/protocols')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/CMakeLists.txt4
-rw-r--r--kopete/protocols/yahoo/libkyahoo/sha1.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/CMakeLists.txt b/kopete/protocols/yahoo/libkyahoo/CMakeLists.txt
index 131ca394..68b1decc 100644
--- a/kopete/protocols/yahoo/libkyahoo/CMakeLists.txt
+++ b/kopete/protocols/yahoo/libkyahoo/CMakeLists.txt
@@ -11,10 +11,6 @@
include( ConfigureChecks.cmake )
-if( HAVE_INTTYPES_H )
- add_definitions( -DHAVE_INTTYPES_H )
-endif()
-
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
diff --git a/kopete/protocols/yahoo/libkyahoo/sha1.c b/kopete/protocols/yahoo/libkyahoo/sha1.c
index 69ee51c2..506c183f 100644
--- a/kopete/protocols/yahoo/libkyahoo/sha1.c
+++ b/kopete/protocols/yahoo/libkyahoo/sha1.c
@@ -37,7 +37,7 @@
* 34aa973c d4c4daa4 f61eeb2b dbad2731 6534016f
*/
-/* #include <config-kopete.h> */
+#include "config.h"
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>