aboutsummaryrefslogblamecommitdiffstats
path: root/community/tomahawk/musl-fixes.patch
blob: 78f72248d7ed5cd433cf504a19e58ca937b16cbd (plain) (tree)



















                                                       
--- ./src/libtomahawk/accounts/ResolverAccount.cpp.orig
+++ ./src/libtomahawk/accounts/ResolverAccount.cpp
@@ -44,6 +44,17 @@
 #include <QFileInfo>
 #include <QDir>
 
+#include <limits.h>
+
+#ifndef __WORDSIZE
+# if ULONG_MAX == 0xffffffffffffffff
+#  define __WORDSIZE 64
+# elif ULONG_MAX == 0xffffffff
+#  define __WORDSIZE 32
+# endif /* ULONG_MAX */
+#endif /* __WORDSIZE */
+
+
 #define MANUALRESOLVERS_DIR "manualresolvers"
 
 using namespace Tomahawk;