+#include <errno.h>
#include <fcntl.h>
+#include <poll.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
-#include <sys/poll.h>
-#include <errno.h>
#include <vector>
#include "client.h"
log_perror("rename");
unlink(filename);
}
+ free(filename);
sleep:
// Wait until the stop_fd pipe is closed, stats_interval timeout,