[systemd-devel] [PATCH 1/2] machinectl: use GNU basename, not the XPG version

Cristian Rodríguez crrodriguez at opensuse.org
Sun Jan 11 09:50:15 PST 2015


---
 src/machine/machinectl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 749170e..980fba1 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"
-- 
2.2.1



More information about the systemd-devel mailing list