summaryrefslogtreecommitdiff
path: root/ext/sdbm/_sdbm.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-08 06:00:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-08 06:00:56 +0000
commit40a77284e5158e51e1099b09c50f79a3abe381b5 (patch)
tree0f888641a03c7ef9d7ff86f932ab9c544fe5c925 /ext/sdbm/_sdbm.c
parentf1efc08bb14af80efa44fe9a61e53654ddf48b61 (diff)
* merged a patch from Takahiro Kambe <taca@back-street.net> to
support DragonFly BSD. [ruby-dev:26984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm/_sdbm.c')
-rw-r--r--ext/sdbm/_sdbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sdbm/_sdbm.c b/ext/sdbm/_sdbm.c
index d8bfae80b2..d4cf621ea5 100644
--- a/ext/sdbm/_sdbm.c
+++ b/ext/sdbm/_sdbm.c
@@ -103,7 +103,7 @@ static int duppair proto((char *, datum));
/*
* externals
*/
-#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__
+#if !defined sun && !defined MSDOS && !defined _WIN32 && !defined __CYGWIN__ && !defined(errno)
extern int errno;
#endif