mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-06 08:01:40 +03:00
* global.h: Fallback to sys/utime.h if utime.h is missing.
This commit is contained in:
parent
3a9692b680
commit
a504067e6c
@ -1,5 +1,7 @@
|
|||||||
2002-01-21 Pavel Roskin <proski@gnu.org>
|
2002-01-21 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* global.h: Fallback to sys/utime.h if utime.h is missing.
|
||||||
|
|
||||||
* global.h: Provide fallbacks for getuid(), getgid(), geteuid()
|
* global.h: Provide fallbacks for getuid(), getgid(), geteuid()
|
||||||
and getegid().
|
and getegid().
|
||||||
* fs.h: Fully trust HAVE_DIRENT_H.
|
* fs.h: Fully trust HAVE_DIRENT_H.
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
|
|
||||||
#ifdef HAVE_UTIME_H
|
#ifdef HAVE_UTIME_H
|
||||||
# include <utime.h>
|
# include <utime.h>
|
||||||
|
#elif HAVE_SYS_UTIME_H
|
||||||
|
# include <sys/utime.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_WAIT_H
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user