diff options
Diffstat (limited to 'ext/dbm/extconf.rb')
-rw-r--r-- | ext/dbm/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb index 55dadc2601..9ce235a2b5 100644 --- a/ext/dbm/extconf.rb +++ b/ext/dbm/extconf.rb @@ -6,6 +6,7 @@ if have_library("gdbm", "dbm_open") end gdbm or have_library("db", "dbm_open") or have_library("dbm", "dbm_open") have_header("cdefs.h") +have_header("sys/cdefs.h") if have_header("ndbm.h") and have_func("dbm_open") have_func("dbm_clearerr") unless gdbm create_makefile("dbm") |