projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6361eb
)
gettimeofday() needs <sys/time.h>
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 3 Sep 2015 09:49:11 +0000
(11:49 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 3 Sep 2015 09:49:11 +0000
(11:49 +0200)
Fixes #1247
src/collectd-tg.c
patch
|
blob
|
history
diff --git
a/src/collectd-tg.c
b/src/collectd-tg.c
index
05cf9a7
..
9bd65bc
100644
(file)
--- a/
src/collectd-tg.c
+++ b/
src/collectd-tg.c
@@
-40,6
+40,7
@@
#include <signal.h>
#include <errno.h>
#include <math.h>
+#include <sys/time.h>
#include "utils_heap.h"