commit 108985d: [Minor] Add missing include
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Feb 11 13:00:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-02-11 12:56:58 +0000
URL: https://github.com/rspamd/rspamd/commit/108985de1103bb6e5af190ee5a4e985a08504468 (HEAD -> master)
[Minor] Add missing include
---
src/libserver/cfg_utils.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 961a2610e..58e8c0d11 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -51,6 +51,9 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
#include <math.h>
#define DEFAULT_SCORE 10.0
More information about the Commits
mailing list