diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb index 4379177755..7721a744c8 100644 --- a/ext/pty/extconf.rb +++ b/ext/pty/extconf.rb @@ -3,7 +3,7 @@ require 'mkmf' $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" -if /mswin|mingw|bccwin|nacl/ !~ RUBY_PLATFORM +if /mswin|mingw|bccwin/ !~ RUBY_PLATFORM have_header("sys/stropts.h") have_func("setresuid") have_header("libutil.h")