1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

tests: we don't actually use basename() anymore

This commit is contained in:
Lennart Poettering 2022-12-21 16:13:23 +01:00
parent c96c9fc78e
commit 0eb2f0a2fc

View File

@ -7,12 +7,6 @@
#include <sys/mount.h>
#include <sys/wait.h>
/* When we include libgen.h because we need dirname() we immediately
* undefine basename() since libgen.h defines it as a macro to the POSIX
* version which is really broken. We prefer GNU basename(). */
#include <libgen.h>
#undef basename
#include "sd-bus.h"
#include "alloc-util.h"