--- a/ext/extconf.rb Thu Nov 20 16:59:00 2008 +0000
+++ b/ext/extconf.rb Thu Nov 20 17:12:39 2008 +0000
@@ -24,10 +24,13 @@
dir_config( 'bsdjail' )
-have_header( "sys/param.h" ) or fail "Can't find the sys/param.h header."
-have_header( "sys/jail.h" ) or fail "Can't find the sys/jail.h header."
+have_header( 'stdio.h' ) or fail "Can't find the stdio.h header."
+have_header( 'sys/param.h' ) or fail "Can't find the sys/param.h header."
+have_header( 'sys/jail.h' ) or fail "Can't find the sys/jail.h header."
+have_header( 'sys/types.h' ) or fail "Can't find the sys/types.h header."
+have_header( 'unistd.h' ) or fail "Can't find the unistd.h header."
-have_func( "jail_attach" ) or fail "Can't find jail_attach in the stdlib."
+have_func( "jail_attach" ) or fail "Can't find jail_attach in the stdlib."
create_makefile( 'bsdjail' )