[systemd-devel] [PATCH 1/2] machinectl: use GNU basename, not the XPG version
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Jan 13 17:06:58 PST 2015
On Sun, Jan 11, 2015 at 02:50:15PM -0300, Cristian Rodríguez wrote:
> ---
> 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"
Ah, nasty. Applied.
Zbyszek
More information about the systemd-devel
mailing list