summaryrefslogtreecommitdiffstats
path: root/util/mmap-alloc.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:55 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:31:26 -0600
commitf8f28f88c7f47a7910f19501474c277e8c6bfd1a (patch)
tree2eb242498f93b1645e9634c1b0c44f126cfd5516 /util/mmap-alloc.c
parentd6de89cbd1f7c93969665f94ce2537780713ed4d (diff)
downloadhqemu-f8f28f88c7f47a7910f19501474c277e8c6bfd1a.zip
hqemu-f8f28f88c7f47a7910f19501474c277e8c6bfd1a.tar.gz
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
OpenPOWER on IntegriCloud