diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-06-30 15:07:47 +0200 |
---|---|---|
committer | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2014-06-30 15:09:37 +0200 |
commit | 59e0b9c9cf07b851f3b19c81314fb984854b7aa8 (patch) | |
tree | 03da6dbeb0c2dadb46b51c2aa0e0c88b84e869ce | |
parent | 92247401984dd9a80d9d0c8c030692323f980678 (diff) | |
download | attr-59e0b9c9cf07b851f3b19c81314fb984854b7aa8.tar.gz |
Portability fix: <alloca.h> is Linux specific
-rw-r--r-- | libattr/attr_copy_action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c index efcb467..c5e4a5a 100644 --- a/libattr/attr_copy_action.c +++ b/libattr/attr_copy_action.c @@ -15,7 +15,9 @@ along with this manual. If not, see <http://www.gnu.org/licenses/>. */ +#if defined(linux) #include <alloca.h> +#endif #include <stdio.h> #include <stdlib.h> #include <errno.h> |