diff options
author | Colin Walters <walters@verbum.org> | 2015-04-07 12:34:30 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-04-07 12:34:30 -0400 |
commit | e72bbdebb03f5d39c7f32869299ca4284786344c (patch) | |
tree | 9dc80be6b35aa1483db828fb9ccf406c0407eb6b | |
parent | 19885b8a20053082543ceb238197315de1cc0bf6 (diff) | |
download | libglnx-e72bbdebb03f5d39c7f32869299ca4284786344c.tar.gz |
fdio: Include <string.h> for basename
Most callers already included `string.h` which is why I didn't see
this earlier.
-rw-r--r-- | glnx-fdio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glnx-fdio.h b/glnx-fdio.h index 5765a02..47368df 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 |