diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-03 15:36:05 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-12-22 15:02:07 +0100 |
commit | f9fea777405b43dd4143548d573d3799b9fb728f (patch) | |
tree | 1aca1b6c461eb4a181ccf08aa89b8034e025d698 /target/i386/hvf/x86.h | |
parent | 69e0a03c3f28f5bd35f54a47cd4996cc14e135ba (diff) | |
download | qemu-f9fea777405b43dd4143548d573d3799b9fb728f.zip qemu-f9fea777405b43dd4143548d573d3799b9fb728f.tar.gz qemu-f9fea777405b43dd4143548d573d3799b9fb728f.tar.bz2 |
i386: hvf: header cleanup
Remove inclusions of system headers and avoid "pragma once".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/hvf/x86.h')
-rw-r--r-- | target/i386/hvf/x86.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/target/i386/hvf/x86.h b/target/i386/hvf/x86.h index 250364b..2dc5547 100644 --- a/target/i386/hvf/x86.h +++ b/target/i386/hvf/x86.h @@ -16,13 +16,9 @@ * License along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#pragma once +#ifndef HVF_X86_H +#define HVF_X86_H 1 -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/mman.h> -#include <stdarg.h> -#include "qemu-common.h" #include "x86_gen.h" /* exceptions */ @@ -467,3 +463,4 @@ static inline uint64_t rdtscp(void) return tsc; } +#endif |