Permalink
Browse files

Make mythtv more compatible with GCC 4.7

Fixes #10537

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>

Cherry-picked from 19a7e01
  • Loading branch information...
1 parent a1db7b1 commit ed67f148adbe5b3122643ccfebca625e9b5ea12f Kevon committed with Beirdo Apr 10, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 mythtv/libs/libmyth/rssparse.h
  2. +2 −0 mythtv/libs/libmythdb/compat.h
  3. +1 −0 mythtv/libs/libmythtv/audioinput.h
@@ -13,6 +13,7 @@ using namespace std;
#include <QPair>
#include <QMap>
#include <QVariant>
+#include <sys/types.h>
#include "mythexp.h"
@@ -53,6 +53,8 @@
#include <sys/resource.h> // for setpriority
#include <sys/socket.h>
#include <sys/wait.h> // For WIFEXITED on Mac OS X
+#include <stdio.h> // for snprintf(), used by inline dlerror()
+#include <unistd.h> // for usleep()
#endif
#ifdef USING_MINGW
@@ -22,6 +22,7 @@
#define _AUDIOINPUT_H_
#include <QString>
+#include <unistd.h>
class AudioInput
{

0 comments on commit ed67f14

Please sign in to comment.