diff --git a/BasiliskII/src/Unix/sshpty.c b/BasiliskII/src/Unix/sshpty.c index 48e69dc7..351f7c8b 100644 --- a/BasiliskII/src/Unix/sshpty.c +++ b/BasiliskII/src/Unix/sshpty.c @@ -45,10 +45,6 @@ RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/19 07:18:56 deraadt Exp $"); # include #endif -#ifdef HAVE_SYS_STAT_H -# include /* For S_* constants and macros */ -#endif - #ifndef _PATH_TTY # define _PATH_TTY "/dev/tty" #endif diff --git a/BasiliskII/src/Unix/sysdeps.h b/BasiliskII/src/Unix/sysdeps.h index 459590e0..533865d6 100644 --- a/BasiliskII/src/Unix/sysdeps.h +++ b/BasiliskII/src/Unix/sysdeps.h @@ -51,6 +51,10 @@ # include #endif +#ifdef HAVE_SYS_STAT_H +# include /* For S_* constants and macros */ +#endif + #ifdef TIME_WITH_SYS_TIME # include # include