summaryrefslogtreecommitdiffstats
path: root/src/import/export-raw.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-08-22 12:34:34 +0200
committerLennart Poettering <lennart@poettering.net>2022-08-23 15:10:15 +0200
commit45519d13a4f2a3c3585e672595762ca621abe65e (patch)
tree8680b032714ce1b7f823049d1e71b6ecb4b7e308 /src/import/export-raw.c
parentMerge pull request #24412 from keszybz/man-similarly (diff)
downloadsystemd-45519d13a4f2a3c3585e672595762ca621abe65e.tar.xz
systemd-45519d13a4f2a3c3585e672595762ca621abe65e.zip
tree-wide: port things dirname_malloc() → path_extract_directory()
Diffstat (limited to 'src/import/export-raw.c')
-rw-r--r--src/import/export-raw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/import/export-raw.c b/src/import/export-raw.c
index 6617a9c9b6..a3ff6a3934 100644
--- a/src/import/export-raw.c
+++ b/src/import/export-raw.c
@@ -2,12 +2,6 @@
#include <sys/sendfile.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-daemon.h"
#include "alloc-util.h"