From e72bbdebb03f5d39c7f32869299ca4284786344c Mon Sep 17 00:00:00 2001 From: Colin Walters <walters@verbum.org> Date: Tue, 7 Apr 2015 12:34:30 -0400 Subject: [PATCH] fdio: Include <string.h> for basename Most callers already included `string.h` which is why I didn't see this earlier. --- glnx-fdio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/glnx-fdio.h b/glnx-fdio.h index 5765a02c5..47368dfc9 100644 --- a/glnx-fdio.h +++ b/glnx-fdio.h @@ -25,6 +25,7 @@ #include <dirent.h> #include <sys/stat.h> #include <fcntl.h> +#include <string.h> #include <sys/xattr.h> /* From systemd/src/shared/util.h */ /* When we include libgen.h because we need dirname() we immediately -- GitLab