summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2018-04-01 20:17:32 +0800
committerJacek Sieka <arnetheduck@gmail.com>2018-04-01 20:17:32 +0800
commit9e51e737b6216fa373662442907874d7b61db1a6 (patch)
tree9eb94c1fd4b34ceed92128bb530fdaabfd718acd /tools
parent86c65db18d83c77374a4b3fe31060172dc40d4cd (diff)
downloadNim-9e51e737b6216fa373662442907874d7b61db1a6.tar.gz
RLIMIT_NOFILE as posix const
Diffstat (limited to 'tools')
-rw-r--r--tools/detect/detect.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/detect/detect.nim b/tools/detect/detect.nim
index 1b016cef9..5b4fdc99e 100644
--- a/tools/detect/detect.nim
+++ b/tools/detect/detect.nim
@@ -586,6 +586,9 @@ v("POSIX_TYPED_MEM_ALLOCATE_CONTIG")
 v("POSIX_TYPED_MEM_MAP_ALLOCATABLE")
 v("MAP_POPULATE", no_other = true)
 
+header("<sys/resource.h>")
+v("RLIMIT_NOFILE")
+
 header("<sys/select.h>")
 v("FD_SETSIZE")