Received: from eggs.gnu.org ([2001:4830:134:3::10]:40457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTAb6-0000WJ-Pp for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTAb5-00076b-Rc for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:00 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:57247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTAb5-00076J-LJ for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:52:59 -0500 From: Peter Maydell Date: Tue, 9 Feb 2016 15:24:58 +0000 Message-Id: <1455031511-23684-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1455031511-23684-1-git-send-email-peter.maydell@linaro.org> References: <1455031511-23684-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 01/14] cpu: Clean up includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org 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 --- qom/cpu.c | 1 + target-i386/cpu.c | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/qom/cpu.c b/qom/cpu.c index 38dc713..651a335 100644 --- a/qom/cpu.c +++ b/qom/cpu.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qom/cpu.h" #include "sysemu/kvm.h" diff --git a/target-i386/cpu.c b/target-i386/cpu.c index b255644..c045be0 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -16,10 +16,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ -#include -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "sysemu/kvm.h" -- 1.9.1