projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use monotonic clock for timeouts
[project/mdnsd.git]
/
util.h
diff --git
a/util.h
b/util.h
index 1a01fccd37b05eaeeccc29779e32dfd535374c70..efee5dc3589e3b42abc9cacd592c89b9bf7c32b9 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-15,6
+15,7
@@
#define _UTIL_H__
#include <stdint.h>
+#include <time.h>
#define DBG(level, fmt, ...) do { \
if (debug >= level) \
@@
-31,5
+32,6
@@
extern char mdns_hostname_local[HOSTNAME_LEN + 6];
extern void get_hostname(void);
extern uint32_t rand_time_delta(uint32_t t);
+extern time_t monotonic_time(void);
#endif