@cryptotaxi247 / netdata-1 / commits / 8209164b8

fixed __useconds_t and unused include of execinfo.h #66

Costa Tsaousis (ktsaou) committed Mar 30, 2016 at 23:02 UTC 8209164b891b1ac27f0588d56377fb7e82748614
2 files changed +1 -2
src/apps_plugin.c
+1 -1
@@ -1994,7 +1994,7 @@ int main(int argc, char **argv)
1994 if(usec < (update_every * 1000000ULL / 2)) susec = (update_every * 1000000ULL) - usec;
1995 else susec = update_every * 1000000ULL / 2;
1996
1997 - usleep((__useconds_t) susec);
1997 + usleep((useconds_t) susec);
1998 bcopy(&now, &last, sizeof(struct timeval));
1999
2000 // restart once per day (14400 seconds)
src/daemon.c
-1
@@ -13,7 +13,6 @@
13 #include <pthread.h>
14 #include <sys/wait.h>
15 #include <sys/stat.h>
16 -#include <execinfo.h>
16
17 #include "common.h"
18 #include "appconfig.h"