diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-27 17:08:47 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-27 17:10:55 +0200 |
commit | ff689b6a383cbeb5ea699d587fe8975d71cae600 (patch) | |
tree | 2725a0a4c1b3330f05c5c122562f1151204fbc21 /lib/libalpm/add.c | |
parent | fa4f25626c462e88ca0f6457bf9942980a5bd329 (diff) | |
download | pacman-ff689b6a383cbeb5ea699d587fe8975d71cae600.tar.gz pacman-ff689b6a383cbeb5ea699d587fe8975d71cae600.tar.xz |
Fix compile error in certain cases
I'm not sure why it doesn't happen everywhere, but we need <sys/stat.h> 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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
0 files changed, 0 insertions, 0 deletions