[mythtv-commits] Ticket #5190: compile faulure ( on win32 )

MythTV mythtv at cvs.mythtv.org
Fri Apr 11 10:06:45 UTC 2008


#5190: compile faulure ( on win32 )
----------------------------------------+-----------------------------------
 Reporter:  Buzz <davidbuzz at gmail.com>  |       Owner:  ijr 
     Type:  patch                       |      Status:  new 
 Priority:  trivial                     |   Milestone:  0.22
Component:  mythtv                      |     Version:  head
 Severity:  high                        |     Mlocked:  0   
----------------------------------------+-----------------------------------
 function isatty() (line 982-ish) is part of <unistd.h>, so that needs to
 be included for MingW/win32 to build it properly.

 patch:
 Index: mythcontext.cpp
 ===================================================================
 --- mythcontext.cpp     (revision 17011)
 +++ mythcontext.cpp     (working copy)
 @@ -37,6 +37,7 @@

  #ifdef USING_MINGW
  #include <winsock2.h>
 +#include <unistd.h>
  #undef DialogBox
  #include "compat.h"
  #endif

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5190>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list