about summary refs log tree commit homepage
path: root/ext/sleepy_penguin/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sleepy_penguin/extconf.rb')
-rw-r--r--ext/sleepy_penguin/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sleepy_penguin/extconf.rb b/ext/sleepy_penguin/extconf.rb
index 46d1059..b1a95c4 100644
--- a/ext/sleepy_penguin/extconf.rb
+++ b/ext/sleepy_penguin/extconf.rb
@@ -19,6 +19,7 @@ unless have_macro('CLOCK_MONOTONIC', 'time.h')
 end
 have_type('clockid_t', 'time.h')
 have_func('clock_gettime', 'time.h')
+have_func('copy_file_range')
 have_func('epoll_create1', %w(sys/epoll.h))
 have_func('inotify_init1', %w(sys/inotify.h))
 have_func('splice', %w(fcntl.h))