From 6e2b61568d38e2c82c9bafd7eca3af405af02ce0 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Mon, 12 Aug 2013 00:14:52 +0300 Subject: [PATCH] include unistd build fixes for mageia 3. Include unisdt when using access method or F_OK. Signed-off-by: Mika Laitio --- src/FileUtil.cc | 1 + src/Store.cc | 2 ++ src/StoreCache.cc | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/FileUtil.cc b/src/FileUtil.cc index 8b905e6..630d566 100644 --- a/src/FileUtil.cc +++ b/src/FileUtil.cc @@ -15,6 +15,7 @@ #include #include #include +#include #include "log.h" #include "FileUtil.hh" diff --git a/src/Store.cc b/src/Store.cc index ba29ed1..d481e6f 100644 --- a/src/Store.cc +++ b/src/Store.cc @@ -6,6 +6,8 @@ */ #include +#include + #include "log.h" #include "Store.hh" diff --git a/src/StoreCache.cc b/src/StoreCache.cc index d95c9fb..8a9952a 100644 --- a/src/StoreCache.cc +++ b/src/StoreCache.cc @@ -7,6 +7,8 @@ #include #include +#include + #include "log.h" #include "Store.hh" #include "StoreCache.hh" -- 2.41.1