aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pty/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pty/extconf.rb')
-rw-r--r--ext/pty/extconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb
index 890269f857..1db9f6e8aa 100644
--- a/ext/pty/extconf.rb
+++ b/ext/pty/extconf.rb
@@ -1,5 +1,7 @@
require 'mkmf'
+$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
+
if /mswin|mingw|bccwin|nacl/ !~ RUBY_PLATFORM
have_header("sys/stropts.h")
have_func("setresuid")