diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-18 09:12:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-18 09:12:27 +0000 |
commit | f9c63857f83cbd427b0b0e57f28c20b1322f78ae (patch) | |
tree | 26789ad88816aa387f774836b31222d0b40da4e4 /glob.c | |
parent | 41c6972dd515d42a321ce0dbd329b1aec5fe5185 (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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 */ |