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>
  • Loading branch information
Kevon authored and Beirdo committed Apr 10, 2012
1 parent bb58a94 commit 19a7e01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mythplugins/mythzoneminder/mythzmserver/zmserver.cpp
Expand Up @@ -24,10 +24,7 @@
#include <netinet/in.h>
#include <sys/stat.h>
#include <sys/shm.h>

#if _POSIX_MAPPED_FILES > 0L
#include <sys/mman.h>
#endif

#ifdef linux
# include <sys/vfs.h>
Expand Down
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/libmythbase/compat.h
Expand Up @@ -44,6 +44,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 19a7e01

Please sign in to comment.