Opened 20 years ago

Closed 20 years ago

#252 closed patch (fixed)

One line fix for scanwizard compile on RH9

Reported by: kuphal@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

On my RH9 backend, I need this one liner to compile the scanwizard code

Index: libs/libmythtv/scanwizard.cpp =================================================================== --- libs/libmythtv/scanwizard.cpp (revision 7106) +++ libs/libmythtv/scanwizard.cpp (working copy) @@ -34,6 +34,7 @@

#if (QT_VERSION >= 0x030300) #include <qlocale.h> #endif

+#include <unistd.h>

#include "mythcontext.h" #include "siscan.h"

Change History (4)

comment:1 Changed 20 years ago by kuphal@…

Looks like I needed this in siscan.cpp as well

Index: libs/libmythtv/siscan.cpp =================================================================== --- libs/libmythtv/siscan.cpp (revision 7106) +++ libs/libmythtv/siscan.cpp (working copy) @@ -3,6 +3,7 @@

C includes #include <cstdio> #include <pthread.h>

+#include <unistd.h>

Qt includes #include <qmutex.h>

comment:2 Changed 20 years ago by kuphal@…

And another for dbox2recorder

Index: libs/libmythtv/dbox2recorder.cpp =================================================================== --- libs/libmythtv/dbox2recorder.cpp (revision 7106) +++ libs/libmythtv/dbox2recorder.cpp (working copy) @@ -18,6 +18,7 @@

#include <sys/socket.h> #include <netdb.h> #include <fcntl.h>

+#include <unistd.h>

#define DEBUG_DBOX2_TS #define DEBUG_DBOX2_PMT

comment:3 Changed 20 years ago by kuphal@…

And yet another...

Index: programs/mythtranscode/mpeg2trans.cpp =================================================================== --- programs/mythtranscode/mpeg2trans.cpp (revision 7106) +++ programs/mythtranscode/mpeg2trans.cpp (working copy) @@ -3,6 +3,7 @@

#include <iostream> #include <iomanip>

+#include <unistd.h>

using namespace std;

comment:4 Changed 20 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [7141]) RH9 compile fixes from Kevin Kuphal. Closes #252.

Note: See TracTickets for help on using tickets.