summaryrefslogtreecommitdiff
path: root/src/sys-socket.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2018-03-25 03:45:05 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2018-04-08 22:22:23 -0400
commit04d76e7afd8401c242aca24bed7f2c93a25238f4 (patch)
treeae96e9a6654d14850b91c9397030df6c9500fb6f /src/sys-socket.h
parentfefc82153a0260635807ae427943d6fed3238809 (diff)
downloadlighttpd-git-04d76e7afd8401c242aca24bed7f2c93a25238f4.tar.gz
[core] some header cleanup
provide standard types in first.h instead of base.h provide lighttpd types in base_decls.h instead of settings.h reduce headers exposed by headers for core data structures do not expose <pcre.h> or <stdlib.h> in headers move stat_cache_entry to stat_cache.h reduce use of "server.h" and "base.h" in headers
Diffstat (limited to 'src/sys-socket.h')
-rw-r--r--src/sys-socket.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sys-socket.h b/src/sys-socket.h
index 25b7eb0f..7851656b 100644
--- a/src/sys-socket.h
+++ b/src/sys-socket.h
@@ -33,4 +33,13 @@
#define UNIX_PATH_MAX 108
#endif
+/* for solaris 2.5 and NetBSD 1.3.x */
+#ifndef HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
+#ifndef SHUT_WR
+#define SHUT_WR 1
+#endif
+
#endif