1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 14:26:37 +02:00

sys/resource.h must be included earlier, otherwise ulimit (the fd limit)

is left unchanged at 1024.
This commit is contained in:
Bram Matthys
2019-12-14 05:23:10 +01:00
parent 4c255ccbd5
commit d8af0c170b
+1
View File
@@ -43,6 +43,7 @@
#ifndef _WIN32
#include <unistd.h>
#include <strings.h>
#include <sys/resource.h>
#endif
/* get intptr_t if the system provides it -- otherwise, ./configure will define it for us */