Commit 424f5c2c123245d0d7ea52b74316cb2e5813453b

Authored by perry.werneck@gmail.com
1 parent db77a723

Corrigindo erro ao compilar com versões antigas da libdbus

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
src/classlib/remote.cc
... ... @@ -36,6 +36,11 @@
36 36 #include <malloc.h>
37 37 #include <sys/types.h>
38 38 #include <unistd.h>
  39 +
  40 + #ifndef DBUS_TIMEOUT_INFINITE
  41 + #define DBUS_TIMEOUT_INFINITE ((int) 0x7fffffff)
  42 + #endif // !DBUS_TIMEOUT_INFINITE
  43 +
39 44 #endif // HAVE_DBUS
40 45  
41 46 #if defined(WIN32)
... ...