Module: sems Branch: master Commit: c7612285995e70d2bb1d262ba786db363fc5d480 URL: https://github.com/sems-server/sems/commit/c7612285995e70d2bb1d262ba786db363fc5d480
Author: Mikko Lehto <[email protected]> Committer: Mikko Lehto <[email protected]> Date: 2016-02-08T04:51:55+02:00 core: [gs]etrlimit needs sys/resource.h --- Modified: core/sems.cpp --- Diff: https://github.com/sems-server/sems/commit/c7612285995e70d2bb1d262ba786db363fc5d480.diff Patch: https://github.com/sems-server/sems/commit/c7612285995e70d2bb1d262ba786db363fc5d480.patch --- diff --git a/core/sems.cpp b/core/sems.cpp index 6f03e5c..f6b09a3 100644 --- a/core/sems.cpp +++ b/core/sems.cpp @@ -54,6 +54,7 @@ #include <grp.h> #include <pwd.h> +#include <sys/resource.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -61,7 +62,6 @@ #include <event2/thread.h> #ifdef PROPAGATE_COREDUMP_SETTINGS -#include <sys/resource.h> #include <sys/prctl.h> #endif _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
