From ff689b6a383cbeb5ea699d587fe8975d71cae600 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 27 Jul 2010 10:08:47 -0500 Subject: Fix compile error in certain cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm not sure why it doesn't happen everywhere, but we need for umask and mkdir in this file. I hit this today: cc1: warnings being treated as errors util.c: In function ‘makepath’: util.c:128:2: error: implicit declaration of function ‘umask’ util.c:141:5: error: implicit declaration of function ‘mkdir’ make[2]: *** [util.o] Error 1 Signed-off-by: Dan McGee --- src/pacman/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pacman/util.c b/src/pacman/util.c index 0cae6d7c..557696b0 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -22,6 +22,7 @@ #include #include +#include #include #include -- cgit v1.2.3-70-g09d2