src/platform_unix.c
changeset 995 de210c7e2b09
parent 990 c25717b5c165
child 1001 b0c6f2f4f361
equal deleted inserted replaced
994:4413637bdcf2 995:de210c7e2b09
    21 #include <sys/stat.h>
    21 #include <sys/stat.h>
    22 #include <sys/param.h>
    22 #include <sys/param.h>
    23 #include <dirent.h>
    23 #include <dirent.h>
    24 #include <time.h>
    24 #include <time.h>
    25 #include <errno.h>
    25 #include <errno.h>
    26 #include <sys/mount.h>
       
    27 
    26 
    28 #if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
    27 #if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
    29 #include <pthread.h>
    28 #include <pthread.h>
    30 #endif
    29 #endif
    31 
    30 
    32 #ifdef PHYSFS_HAVE_SYS_UCRED_H
    31 #ifdef PHYSFS_HAVE_SYS_UCRED_H
    33 #  ifdef PHYSFS_HAVE_MNTENT_H
    32 #  ifdef PHYSFS_HAVE_MNTENT_H
    34 #    undef PHYSFS_HAVE_MNTENT_H /* don't do both... */
    33 #    undef PHYSFS_HAVE_MNTENT_H /* don't do both... */
    35 #  endif
    34 #  endif
       
    35 #  include <sys/mount.h>
    36 #  include <sys/ucred.h>
    36 #  include <sys/ucred.h>
    37 #endif
    37 #endif
    38 
    38 
    39 #ifdef PHYSFS_HAVE_MNTENT_H
    39 #ifdef PHYSFS_HAVE_MNTENT_H
    40 #include <mntent.h>
    40 #include <mntent.h>