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@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-11-17 16:38:15 +00:00
parent 4eed0bf8ec
commit f73e8319c6
2 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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)