summaryrefslogtreecommitdiff
path: root/glob.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 09:12:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 09:12:27 +0000
commitf9c63857f83cbd427b0b0e57f28c20b1322f78ae (patch)
tree26789ad88816aa387f774836b31222d0b40da4e4 /glob.c
parent41c6972dd515d42a321ce0dbd329b1aec5fe5185 (diff)
BeOS patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'glob.c')
-rw-r--r--glob.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/glob.c b/glob.c
index 33051214df..bba41e6687 100644
--- a/glob.c
+++ b/glob.c
@@ -25,6 +25,10 @@
#pragma alloca
#endif /* _AIX && RISC6000 && !__GNUC__ */
+#if defined (HAVE_ALLOCA_H)
+# include <alloca.h>
+#endif
+
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
#endif
@@ -72,7 +76,7 @@
# include <strings.h>
#endif /* !HAVE_STRING_H */
-#if !defined (HAVE_BCOPY)
+#if !defined (HAVE_BCOPY) && !defined (bcopy)
# define bcopy(s, d, n) ((void) memcpy ((d), (s), (n)))
#endif /* !HAVE_BCOPY */