Skip to content

Commit

Permalink
Make mythtv more compatible with GCC 4.7
Browse files Browse the repository at this point in the history
Fixes #10537

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

Cherry-picked from 19a7e01
  • Loading branch information
Kevon authored and Beirdo committed Apr 10, 2012
1 parent a1db7b1 commit ed67f14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmyth/rssparse.h
Expand Up @@ -13,6 +13,7 @@ using namespace std;
#include <QPair>
#include <QMap>
#include <QVariant>
#include <sys/types.h>

#include "mythexp.h"

Expand Down
2 changes: 2 additions & 0 deletions mythtv/libs/libmythdb/compat.h
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/audioinput.h
Expand Up @@ -22,6 +22,7 @@
#define _AUDIOINPUT_H_

#include <QString>
#include <unistd.h>

class AudioInput
{
Expand Down

0 comments on commit ed67f14

Please sign in to comment.