From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL6Cu-0005qm-RL for qemu-devel@nongnu.org; Thu, 28 Mar 2013 02:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UL6Cs-0001DI-W1 for qemu-devel@nongnu.org; Thu, 28 Mar 2013 02:21:04 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:44630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL6Cs-0001Cw-Mo for qemu-devel@nongnu.org; Thu, 28 Mar 2013 02:21:02 -0400 Date: Thu, 28 Mar 2013 02:21:00 -0400 (EDT) From: Paolo Bonzini Message-ID: <916700687.16383315.1364451660518.JavaMail.root@redhat.com> In-Reply-To: <51534CF1.5080506@mc.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [patch]Make GTK build on OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bob Breuer Cc: "C.W. Betts" , qemu-devel@nongnu.org > > Yes, I know. The point is that there's already an idiom to choose > > between pty.h/util.h/libutil.h, and we should not introduce > > another. > > Note that mingw has none of those headers, so double-check the _WIN32 > conditionals. Good catch. C.W., the right include file is include/sysemu/os-posix.h. My mistake, sorry. Paolo > > > > Paolo > > > >>> > >>> #if defined(__GLIBC__) > >>> #include > >>> #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || > >>> defined(__DragonFly__) > >>> #include > >>> #else > >>> #include > >>> #endif > >>> > >>> Please move it to include/qemu-common.h instead so that there is > >>> no > >>> duplication. > >> The next patch will do this. Thank you for the feedback. > >>> > >>> Paolo > >>> > >> > >> > > > > > > > > > >