summaryrefslogtreecommitdiffstats
path: root/src/stkagent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stkagent.c')
-rw-r--r--src/stkagent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stkagent.c b/src/stkagent.c
index e92c8851..f08fa069 100644
--- a/src/stkagent.c
+++ b/src/stkagent.c
@@ -38,6 +38,10 @@
#include "stkutil.h"
#include "stkagent.h"
+#ifndef DBUS_TIMEOUT_INFINITE
+#define DBUS_TIMEOUT_INFINITE ((int) 0x7fffffff)
+#endif
+
enum allowed_error {
ALLOWED_ERROR_GO_BACK = 0x1,
ALLOWED_ERROR_TERMINATE = 0x2,