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:
parent
c96c9fc78e
commit
0eb2f0a2fc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user