Группа :: Науки/Прочее
Пакет: boinc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: boinc-7.0.31-alt-glibc-2.16.patch
Скачать
Скачать
diff --git a/boinc/configure.ac b/boinc/configure.ac
index c6698b3..0c52c19 100644
--- a/boinc/configure.ac
+++ b/boinc/configure.ac
@@ -563,6 +563,8 @@ AH_TOP([
#ifndef BOINC_CONFIG_H
#define BOINC_CONFIG_H
+#include <unistd.h>
+
/* Version defines are now in version.h */
#include "version.h"
diff --git a/boinc/tools/process_input_template.cpp b/boinc/tools/process_input_template.cpp
index a8fbf4a..c783cf0 100644
--- a/boinc/tools/process_input_template.cpp
+++ b/boinc/tools/process_input_template.cpp
@@ -15,6 +15,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
+#include <unistd.h>
#include <stdio.h>
#include <string>
#include <sys/types.h>