diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-27 10:08:47 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-27 10:10:55 -0500 |
commit | ff689b6a383cbeb5ea699d587fe8975d71cae600 (patch) | |
tree | 2725a0a4c1b3330f05c5c122562f1151204fbc21 /test/pacman | |
parent | fa4f25626c462e88ca0f6457bf9942980a5bd329 (diff) |
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 'test/pacman')
0 files changed, 0 insertions, 0 deletions