[libglnx] fdio: Include <string.h> for basename
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libglnx] fdio: Include <string.h> for basename
- Date: Tue, 7 Apr 2015 19:10:58 +0000 (UTC)
commit e72bbdebb03f5d39c7f32869299ca4284786344c
Author: Colin Walters <walters verbum org>
Date: Tue Apr 7 12:34:30 2015 -0400
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 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]