summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:16:56 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:22 +0000
commit7b31bbc2e68605ab2f10dc609dd54cf4c7b5f49a (patch)
treedf816ede89152d290f20989d3952ac6f937a1cc8 /exec.c
parent42f7a448dbc5d550b1d7f0ee6b622acccaed1d12 (diff)
downloadqemu-7b31bbc2e68605ab2f10dc609dd54cf4c7b5f49a.tar.gz
qemu-7b31bbc2e68605ab2f10dc609dd54cf4c7b5f49a.tar.bz2
qemu-7b31bbc2e68605ab2f10dc609dd54cf4c7b5f49a.zip
exec: 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: 1453832250-766-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/exec.c b/exec.c
index 7115403e05..9e076bc323 100644
--- a/exec.c
+++ b/exec.c
@@ -16,9 +16,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
+#include "qemu/osdep.h"
#ifndef _WIN32
-#include <sys/types.h>
#include <sys/mman.h>
#endif
@@ -30,7 +29,6 @@
#include "hw/boards.h"
#endif
#include "hw/qdev.h"
-#include "qemu/osdep.h"
#include "sysemu/kvm.h"
#include "sysemu/sysemu.h"
#include "hw/xen/xen.h"