diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2018-04-01 20:17:32 +0800 |
---|---|---|
committer | Jacek Sieka <arnetheduck@gmail.com> | 2018-04-01 20:17:32 +0800 |
commit | 9e51e737b6216fa373662442907874d7b61db1a6 (patch) | |
tree | 9eb94c1fd4b34ceed92128bb530fdaabfd718acd /tools | |
parent | 86c65db18d83c77374a4b3fe31060172dc40d4cd (diff) | |
download | Nim-9e51e737b6216fa373662442907874d7b61db1a6.tar.gz |
RLIMIT_NOFILE as posix const
Diffstat (limited to 'tools')
-rw-r--r-- | tools/detect/detect.nim | 3 |
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") |