[Spice-commits] server/stat-file.c server/stat-file.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Nov 30 15:45:15 UTC 2016
server/stat-file.c | 2 ++
server/stat-file.h | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit f73e8319c60bff76a582282e0df6a103c4c21938
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Thu Nov 17 16:38:15 2016 +0000
Move some include from header to source
Now that RedStatFile is private there is no need
to include some headers in stat-file.h.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
diff --git a/server/stat-file.c b/server/stat-file.c
index beed77a..c23f4f5 100644
--- a/server/stat-file.c
+++ b/server/stat-file.c
@@ -25,7 +25,9 @@
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
+#include <pthread.h>
#include <sys/mman.h>
+#include <spice/stats.h>
#include <common/log.h>
#include <common/mem.h>
diff --git a/server/stat-file.h b/server/stat-file.h
index 0454e2e..0ead05c 100644
--- a/server/stat-file.h
+++ b/server/stat-file.h
@@ -18,8 +18,7 @@
#ifndef STAT_FILE_H_
#define STAT_FILE_H_
-#include <pthread.h>
-#include <spice/stats.h>
+#include <stdint.h>
typedef uint32_t StatNodeRef;
#define INVALID_STAT_REF (~(StatNodeRef)0)
More information about the Spice-commits
mailing list