--- embedaddon/lighttpd/src/log.h 2014/06/15 20:20:06 1.1.1.2 +++ embedaddon/lighttpd/src/log.h 2016/11/02 10:35:00 1.1.1.3 @@ -1,7 +1,13 @@ #ifndef _LOG_H_ #define _LOG_H_ +#include "first.h" #include "server.h" + +struct timespec; /* declaration */ +int log_clock_gettime_realtime (struct timespec *ts); + +ssize_t write_all(int fd, const void* buf, size_t count); /* Close fd and _try_ to get a /dev/null for it instead. * Returns 0 on success and -1 on failure (fd gets closed in all cases)