From 3c14598ca1769373ea8d71a21864f19c93cc5e90 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 8 Nov 2004 12:04:07 +0000 Subject: [PATCH] Move #include "systime.h" before . Don't include explicitly. Include unconditionally, not just on MacOS. --- src/editfns.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index e7a2372e912..45b7caa280b 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */ #include #include +#include #ifdef VMS #include "vms-pwd.h" @@ -33,15 +34,10 @@ Boston, MA 02111-1307, USA. */ #include #endif -/* Without this, sprintf on Mac OS Classic will produce wrong - result. */ -#ifdef MAC_OS8 -#include -#endif - -#ifdef HAVE_SYS_TIME_H -#include -#endif +/* systime.h includes which, on some systems, is required + for ; thus systime.h must be included before + */ +#include "systime.h" #if defined HAVE_SYS_RESOURCE_H #include @@ -57,8 +53,6 @@ Boston, MA 02111-1307, USA. */ #include "frame.h" #include "window.h" -#include "systime.h" - #ifdef STDC_HEADERS #include #define MAX_10_EXP DBL_MAX_10_EXP -- 2.39.5