all: 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-16-git-send-email-peter.maydell@linaro.org
diff --git a/device_tree.c b/device_tree.c
index a9f5f8e..b1ad836 100644
--- a/device_tree.c
+++ b/device_tree.c
@@ -11,12 +11,7 @@
*
*/
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/error-report.h"