diff options
author | David Howells <dhowells@redhat.com> | 2010-02-25 12:52:57 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-02-25 12:52:57 +0000 |
commit | c2e241c00af7d042a2071af89b97bd25256c0279 (patch) | |
tree | 6eb9f6057decaa00290bbd48e4f84d6b1a3769aa | |
parent | 14248975423595edf5f786ce2e8ceefd1abe17ef (diff) | |
download | cachefilesd-c2e241c00af7d042a2071af89b97bd25256c0279.tar.gz |
Must #include <sys/stat.h> before using stat() and co
cachefilesd.c should #include <sys/stat.h> if it's going to use stat() and
related functions [RH BZ 565135].
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | cachefilesd.c | 1 | ||||
-rw-r--r-- | redhat/cachefilesd.spec | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/cachefilesd.c b/cachefilesd.c index 7589c3b..215fdcc 100644 --- a/cachefilesd.c +++ b/cachefilesd.c @@ -46,6 +46,7 @@ #include <sys/inotify.h> #include <sys/time.h> #include <sys/vfs.h> +#include <sys/stat.h> typedef enum objtype { OBJTYPE_INDEX, diff --git a/redhat/cachefilesd.spec b/redhat/cachefilesd.spec index 2881c6d..98a5334 100644 --- a/redhat/cachefilesd.spec +++ b/redhat/cachefilesd.spec @@ -148,6 +148,9 @@ fi %{_datadir}/selinux/*/cachefilesd.pp %changelog +* Tue Feb 23 2010 David Howells <dhowells@redhat.com> +- Must include sys/stat.h to use stat() and co. [RH BZ 565135]. + * Thu Aug 9 2007 David Howells <dhowells@redhat.com> 0.9-1 - The cachefiles module no longer accepts directory fds on cull and inuse commands, but rather uses current working directory. |