mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-09 00:29:33 +00:00
Added sys/stat.h to sysdeps.h
Needed on BSD for S_* ioctl constants and macros
This commit is contained in:
parent
2fa17a0783
commit
7482de353b
|
@ -45,10 +45,6 @@ RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/19 07:18:56 deraadt Exp $");
|
||||||
# include <sys/bsdtty.h>
|
# include <sys/bsdtty.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_STAT_H
|
|
||||||
# include <sys/stat.h> /* For S_* constants and macros */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _PATH_TTY
|
#ifndef _PATH_TTY
|
||||||
# define _PATH_TTY "/dev/tty"
|
# define _PATH_TTY "/dev/tty"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -51,6 +51,10 @@
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_STAT_H
|
||||||
|
# include <sys/stat.h> /* For S_* constants and macros */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TIME_WITH_SYS_TIME
|
#ifdef TIME_WITH_SYS_TIME
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user