unix.c
changeset 2323 eadae7d611e7
parent 2285 410dedcf46d1
child 2334 8986c80be5be
equal deleted inserted replaced
2322:32c18dd9a9f1 2323:eadae7d611e7
    12 #include <dirent.h>
    12 #include <dirent.h>
    13 #include <unistd.h>
    13 #include <unistd.h>
    14 #include <sys/stat.h>
    14 #include <sys/stat.h>
    15 #include <time.h>
    15 #include <time.h>
    16 #include <signal.h>
    16 #include <signal.h>
       
    17 
       
    18 #ifdef USE_HOMEDIR
       
    19 #include <pwd.h>
       
    20 #endif
    17 
    21 
    18 #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__)
    22 #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__)
    19 	#define HAS_STATVFS
    23 	#define HAS_STATVFS
    20 #endif
    24 #endif
    21 
    25