# HG changeset patch # User Eli Zaretskii # Date 1099915447 0 # Node ID 46a65225505770b0b545e0f188effd9850608246 # Parent 7b117bb1e32079c9d6071cfa6a792e02a984a250 Move #include "systime.h" before . Don't include explicitly. Include unconditionally, not just on MacOS. diff -r 7b117bb1e320 -r 46a652255057 src/editfns.c --- a/src/editfns.c Mon Nov 08 02:37:02 2004 +0000 +++ b/src/editfns.c Mon Nov 08 12:04:07 2004 +0000 @@ -22,6 +22,7 @@ #include #include +#include #ifdef VMS #include "vms-pwd.h" @@ -33,15 +34,10 @@ #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 @@ #include "frame.h" #include "window.h" -#include "systime.h" - #ifdef STDC_HEADERS #include #define MAX_10_EXP DBL_MAX_10_EXP