summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 749170ede9..980fba12a4 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -32,7 +32,7 @@
#include <net/if.h>
#include <sys/mount.h>
#include <libgen.h>
-
+#undef basename
#include "sd-bus.h"
#include "log.h"
#include "util.h"