diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-01-25 07:52:49 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-01-25 23:04:04 +0100 |
commit | 1c1a37c457e3684176eb6d18c2d66ccc64e99a59 (patch) | |
tree | 09dbbe57230efe7e1d0030abb4cc470bf2cb9d96 /src/test | |
parent | 7739c87f49c9a17cfecc288289c5ca91cb242607 (diff) |
test/test-hexdecoct.c: Add include for musl_missin.h for strndupa().
shared/musl_missing.h: Rewrite strndupa() define to use x_ prefixed
variables, so they won't shadow surronding
variables of the same name.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-hexdecoct.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c index fcae427e7..3da1e6b16 100644 --- a/src/test/test-hexdecoct.c +++ b/src/test/test-hexdecoct.c @@ -22,6 +22,9 @@ #include "macro.h" #include "string-util.h" +/// Additional includes needed by elogind +#include "musl_missing.h" + static void test_hexchar(void) { assert_se(hexchar(0xa) == 'a'); assert_se(hexchar(0x0) == '0'); |