Mercurial > hg > xemacs-beta
diff src/sysfile.h @ 1467:e5da225ea2ca
[xemacs-hg @ 2003-05-09 09:50:40 by stephent]
#define stat workaround <87r878ihhf.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Fri, 09 May 2003 09:50:42 +0000 |
parents | 70921960b980 |
children | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/sysfile.h Fri May 09 01:41:56 2003 +0000 +++ b/src/sysfile.h Fri May 09 09:50:42 2003 +0000 @@ -58,6 +58,9 @@ # include <sys/file.h> #endif +/* Some systems (SCO 3.2v5) do #define stat ... in this header. So it + _must_ be included before any use of struct stat. Most emacs files + should include sysfile.h. The unex*.c include <sys/stat.h> directly. */ #include <sys/stat.h> #ifdef WIN32_ANY @@ -368,6 +371,11 @@ int qxe_unlink (const Ibyte *path); +/* definition in filemode.c + must be declared here to ensure that struct stat is properly formed + on systems like SCO 3.2v5 */ +void filemodestring (struct stat *, char *); + #endif /* emacs */ @@ -478,5 +486,4 @@ #endif /* emacs */ - #endif /* INCLUDED_sysfile_h_ */