From 2c53fd69ce7041992dfddacb78cd5eb876a41513 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 6 Oct 2012 17:32:45 +0200 Subject: [PATCH] fix compilation with gcc-4.7 by including unistd.h Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/4009fea6d8ac14d6c28c70d5a107bb03c5bd8c4d Author: Stefan Seyfried Date: 2012-10-06 (Sat, 06 Oct 2012) --- src/gui/keybind_setup.cpp | 2 ++ src/gui/network_service.cpp | 1 + src/gui/osdlang_setup.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/src/gui/keybind_setup.cpp b/src/gui/keybind_setup.cpp index 91897db3f..01b040773 100644 --- a/src/gui/keybind_setup.cpp +++ b/src/gui/keybind_setup.cpp @@ -33,6 +33,8 @@ #include #endif +#include + #ifdef HAVE_COOLSTREAM_NEVIS_IR_H /* define constants instead of #ifdef'ing the corresponding code. * the compiler will optimize it away anyway, but the syntax is diff --git a/src/gui/network_service.cpp b/src/gui/network_service.cpp index 7902d6018..fd1d68ba9 100644 --- a/src/gui/network_service.cpp +++ b/src/gui/network_service.cpp @@ -24,6 +24,7 @@ #include #endif +#include #include #include diff --git a/src/gui/osdlang_setup.cpp b/src/gui/osdlang_setup.cpp index 0b7c31b16..9346eeb8a 100644 --- a/src/gui/osdlang_setup.cpp +++ b/src/gui/osdlang_setup.cpp @@ -33,6 +33,7 @@ #include #endif +#include #include "osdlang_setup.h"