--- sng-tc-linux-1.3.4.1.i686.orig/soap/stdsoap2.h
+++ sng-tc-linux-1.3.4.1.i686/soap/stdsoap2.h
@@ -754,8 +754,8 @@
 #   define LONG64 int64_t
 #   define ULONG64 uint64_t
 #  elif defined(__GLIBC__)
-#   include <bits/wordsize.h>
-#   if (__WORDSIZE == 64)
+#   include <limits.h>
+#   if (LONG_BIT == 64)
 #    define LONG64 int64_t
 #    define ULONG64 uint64_t
 #    ifndef SOAP_LONG_FORMAT
