1
0
Fork 0

(svn r2849) Fix r2806: pwd.h is necessary, but only if USE_HOMEDIR is defined

release/0.4.5
tron 2005-08-11 07:29:24 +00:00
parent 042f079b8d
commit 4582eb85a2
1 changed files with 4 additions and 0 deletions

4
unix.c
View File

@ -15,6 +15,10 @@
#include <time.h>
#include <signal.h>
#ifdef USE_HOMEDIR
#include <pwd.h>
#endif
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__)
#define HAS_STATVFS
#endif