Message ID | 20210804103046.5e5a174d@oasis.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | f7140f57deb2d9ccc97641ca2d03239c161b1853 |
Headers | show |
Series | libtracefs: Remove include sys/stat.h from global tracefs.h | expand |
diff --git a/include/tracefs.h b/include/tracefs.h index 55f8239..0e31a4f 100644 --- a/include/tracefs.h +++ b/include/tracefs.h @@ -6,7 +6,6 @@ #ifndef _TRACE_FS_H #define _TRACE_FS_H -#include <sys/stat.h> #include <fcntl.h> #include <sched.h> #include <event-parse.h> diff --git a/src/tracefs-tools.c b/src/tracefs-tools.c index ca0ed58..ae85444 100644 --- a/src/tracefs-tools.c +++ b/src/tracefs-tools.c @@ -11,6 +11,7 @@ #include <unistd.h> #include <fcntl.h> #include <sys/types.h> +#include <sys/stat.h> #include <regex.h> #include <dirent.h> #include <limits.h>