From 31141c132b0e914551de73972577d3ae30d435dd Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Sun, 7 Nov 2004 05:57:08 +0000 Subject: [PATCH] editfns.c: Need to include sys/time.h before resource.h on darwin. --- src/ChangeLog | 4 ++++ src/editfns.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index ea570820e1a..0e3870669c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-11-06 Steven Tamm + + * editfns.c: Need to include sys/time.h before resource.h on darwin. + 2004-11-06 Richard M. Stallman * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. diff --git a/src/editfns.c b/src/editfns.c index 2e8134d4495..bcffc545b6a 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -40,6 +40,9 @@ Boston, MA 02111-1307, USA. */ #endif #if defined HAVE_SYS_RESOURCE_H +#ifdef MAC_OSX +#include +#endif #include #endif -- 2.39.5