aboutsummaryrefslogtreecommitdiff
path: root/util/mmap-alloc.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:55 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:01:04 +0000
commitaafd758410015e08b1aa8964d739ba8587ce58dc (patch)
treefcaa184bf2e2faa09111d7bfc40ee9257a8415f0 /util/mmap-alloc.c
parent9c058332f36bc84db57f3d54566228799c5e9605 (diff)
downloadqemu-aafd758410015e08b1aa8964d739ba8587ce58dc.zip
qemu-aafd758410015e08b1aa8964d739ba8587ce58dc.tar.gz
qemu-aafd758410015e08b1aa8964d739ba8587ce58dc.tar.bz2
util: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1454089805-5470-6-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'util/mmap-alloc.c')
-rw-r--r--util/mmap-alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/mmap-alloc.c b/util/mmap-alloc.c
index 5cd7f71..0b4cc7f 100644
--- a/util/mmap-alloc.c
+++ b/util/mmap-alloc.c
@@ -9,10 +9,9 @@
* This work is licensed under the terms of the GNU GPL, version 2 or
* later. See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include <qemu/mmap-alloc.h>
-#include <sys/types.h>
#include <sys/mman.h>
-#include <assert.h>
#define HUGETLBFS_MAGIC 0x958458f6