summaryrefslogtreecommitdiffstats
path: root/src/basic/missing_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/missing_resource.h')
-rw-r--r--src/basic/missing_resource.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/basic/missing_resource.h b/src/basic/missing_resource.h
index 6e76765..1807673 100644
--- a/src/basic/missing_resource.h
+++ b/src/basic/missing_resource.h
@@ -3,8 +3,12 @@
#include <sys/resource.h>
+#include "macro.h"
+
#ifndef RLIMIT_RTTIME
-#define RLIMIT_RTTIME 15
+# define RLIMIT_RTTIME 15
+#else
+assert_cc(RLIMIT_RTTIME == 15);
#endif
/* If RLIMIT_RTTIME is not defined, then we cannot use RLIMIT_NLIMITS as is */