commit | 095c8d40dda39feb3c2073e120e061e331ba7233 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Feb 09 14:09:47 2016 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Feb 09 14:33:36 2016 -0800 |
tree | f799d5f94bb9fc77af5d3383a13575f08e300498 | |
parent | 301168dee346c6b68bfddf9e9b74f9406c1cf034 [diff] |
Fix compile with musl (lack of strndupa) If strndupa is not defined, use an in-house implementation using alloca() (code taken from https://goo.gl/roIJt6). Patch is based on work by Dennis Przytarski. https://bugs.openvz.org/browse/OVZ-6650 Signed-off-by: Kir Kolyshkin <kir@openvz.org>