]> git.proxmox.com Git - mirror_qemu.git/commitdiff
cpu: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Feb 2016 11:58:02 +0000 (11:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Feb 2016 12:43:04 +0000 (12:43 +0000)
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>
qom/cpu.c
target-i386/cpu.c

index aeb32f1b6eab985a14092785fabae021eb3f2df6..c45d0bb6de5e8878ac749be7d4b8662f083f81c5 100644 (file)
--- a/qom/cpu.c
+++ b/qom/cpu.c
@@ -18,6 +18,7 @@
  * <http://www.gnu.org/licenses/gpl-2.0.html>
  */
 
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qom/cpu.h"
 #include "sysemu/kvm.h"
index 0af43a3ae1683fc8819c7df5df0829e6e83b8c5f..c78f8246782e58da6c7e18858eb25b9a6822cd19 100644 (file)
  * 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 <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
+#include "qemu/osdep.h"
 
 #include "cpu.h"
 #include "sysemu/kvm.h"