summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-06-21 21:41:59 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-07-15 22:42:15 -0400
commit9e75b8198240b6f6663026f69cfd4deb534187cf (patch)
treee566292fd8fe3c2f47a79847dd5d250e6d3df3de /src/log.h
parent6691eb377e671f322f04320d80046a3f32ca3da4 (diff)
downloadlighttpd-git-9e75b8198240b6f6663026f69cfd4deb534187cf.tar.gz
[core] reduce exposure of unistd.h, other includes
reduce exposure of unistd.h, and some other include cleanup
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 60522f84..0c09378d 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,8 +1,12 @@
#ifndef _LOG_H_
#define _LOG_H_
#include "first.h"
+#include <sys/types.h>
-#include "server.h"
+#include "buffer.h"
+
+struct server; /* declaration */
+typedef struct server server;
struct timespec; /* declaration */
int log_clock_gettime_realtime (struct timespec *ts);