summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-11-25 00:32:40 +0100
committerLennart Poettering <lennart@poettering.net>2012-11-25 00:33:59 +0100
commit8742514c1a1a5bc0f423da9101deb66115e187ff (patch)
tree87886e4f9625e7ed2c50889b817961a981cc8887 /src/shared
parentf0d7b0fcff57ff766b9882d4b11d79c9e478c3bc (diff)
timer: recalculate next elapse for calendar timer units when the system clock is changed
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 3777cf69b2..c53579ff7f 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -253,3 +253,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
#ifndef CIFS_MAGIC_NUMBER
#define CIFS_MAGIC_NUMBER 0xFF534D42
#endif
+
+#ifndef TFD_TIMER_CANCEL_ON_SET
+#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
+#endif