kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit eb9b7f7b14fbfd6c8f766c08179d28fed41536ab
parent 61863bfd3a45234ef2e86955f8af5e74e0d3e2ab
Author: Joris Vink <joris@coders.se>
Date:   Wed,  6 Mar 2019 09:29:46 +0100

explicitly include sys/types.h

some smaller libc variants do not include this from sys/param.h.

Diffstat:
src/accesslog.c | 1+
src/auth.c | 1+
src/buf.c | 2++
src/config.c | 1+
src/domain.c | 1+
src/http.c | 1+
src/mem.c | 1+
src/module.c | 1+
src/msg.c | 1+
src/net.c | 1+
src/pool.c | 1+
src/runtime.c | 1+
src/timer.c | 1+
src/utils.c | 1+
src/validator.c | 2++
src/websocket.c | 1+
src/worker.c | 1+
17 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/accesslog.c b/src/accesslog.c @@ -14,6 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> #include <sys/socket.h> #include <time.h> diff --git a/src/auth.c b/src/auth.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <ctype.h> diff --git a/src/buf.c b/src/buf.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <string.h> #include <stdio.h> #include <stdarg.h> diff --git a/src/config.c b/src/config.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <sys/stat.h> #include <stdio.h> diff --git a/src/domain.c b/src/domain.c @@ -21,6 +21,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #if !defined(KORE_NO_TLS) #include <openssl/x509.h> diff --git a/src/http.c b/src/http.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> diff --git a/src/mem.c b/src/mem.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <stdlib.h> #include <stdint.h> diff --git a/src/module.c b/src/module.c @@ -14,6 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> #include <sys/stat.h> #include <dlfcn.h> diff --git a/src/msg.c b/src/msg.c @@ -14,6 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> #include <sys/socket.h> #include <signal.h> diff --git a/src/net.c b/src/net.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #if defined(__linux__) #include <endian.h> diff --git a/src/pool.c b/src/pool.c @@ -14,6 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> #include <sys/mman.h> #include <sys/queue.h> diff --git a/src/runtime.c b/src/runtime.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include "kore.h" diff --git a/src/timer.c b/src/timer.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <sys/queue.h> #include "kore.h" diff --git a/src/utils.c b/src/utils.c @@ -14,6 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> #include <sys/time.h> #include <ctype.h> diff --git a/src/validator.c b/src/validator.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include "kore.h" TAILQ_HEAD(, kore_validator) validators; diff --git a/src/websocket.c b/src/websocket.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <openssl/sha.h> diff --git a/src/worker.c b/src/worker.c @@ -15,6 +15,7 @@ */ #include <sys/param.h> +#include <sys/types.h> #include <sys/shm.h> #include <sys/wait.h> #include <sys/time.h>