diff --git a/Makefile b/Makefile index ab3f3b1d3..1178229eb 100644 --- a/Makefile +++ b/Makefile @@ -982,7 +982,8 @@ OBJS += src/mux_h2.o src/mux_h1.o src/mux_fcgi.o src/stream.o \ src/hpack-tbl.o src/ebsttree.o src/ebistree.o src/auth.o \ src/hpack-huff.o src/freq_ctr.o src/dict.o src/wdt.o \ src/pipe.o src/init.o src/http_acl.o src/hpack-enc.o \ - src/ebtree.o src/dgram.o src/hash.o src/version.o + src/ebtree.o src/dgram.o src/hash.o src/version.o \ + src/limits.o ifneq ($(TRACE),) OBJS += src/calltrace.o diff --git a/include/haproxy/limits.h b/include/haproxy/limits.h new file mode 100644 index 000000000..2a76e2c95 --- /dev/null +++ b/include/haproxy/limits.h @@ -0,0 +1,12 @@ +/* + * Handlers for process resources limits. + * + * SPDX-License-Identifier: GPL-2.0-or-later. + * + */ + +#ifndef _HAPROXY_LIMITS_H +#define _HAPROXY_LIMITS_H +#include + +#endif /* _HAPROXY_LIMITS_H */ diff --git a/src/extcheck.c b/src/extcheck.c index c667b1635..05c53ff9f 100644 --- a/src/extcheck.c +++ b/src/extcheck.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/src/haproxy.c b/src/haproxy.c index 8fdc4b860..cf23dba52 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -92,6 +92,7 @@ #include #include #include +#include #if defined(USE_LINUX_CAP) #include #endif diff --git a/src/limits.c b/src/limits.c new file mode 100644 index 000000000..a80a2ac21 --- /dev/null +++ b/src/limits.c @@ -0,0 +1,13 @@ +/* + * Handlers for process resources limits. + * + * SPDX-License-Identifier: GPL-2.0-or-later. + * + */ + +#include +#include +#include +#include + +