From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXFVG-00007S-HZ for qemu-devel@nongnu.org; Thu, 25 Sep 2014 16:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXFVA-0004tC-CJ for qemu-devel@nongnu.org; Thu, 25 Sep 2014 16:19:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXFVA-0004si-4j for qemu-devel@nongnu.org; Thu, 25 Sep 2014 16:18:56 -0400 From: Eduardo Habkost Date: Thu, 25 Sep 2014 17:18:21 -0300 Message-Id: <1411676309-20218-3-git-send-email-ehabkost@redhat.com> In-Reply-To: <1411676309-20218-1-git-send-email-ehabkost@redhat.com> References: <1411676309-20218-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [RFC 02/10] bitops.h: Don't include qemu-common.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Paolo Bonzini This removes the following circular dependency: bitops.h -> qemu-common.h -> target-i386/cpu.h -> target-i386/cpu-qom.h -> qom/cpu.h -> qdev-core.h -> bitmap.h -> bitops.h. Signed-off-by: Eduardo Habkost --- include/qemu/bitops.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h index 7e2d5c9..181bd46 100644 --- a/include/qemu/bitops.h +++ b/include/qemu/bitops.h @@ -12,7 +12,9 @@ #ifndef BITOPS_H #define BITOPS_H -#include "qemu-common.h" +#include +#include + #include "host-utils.h" #define BITS_PER_BYTE CHAR_BIT -- 1.9.3