From: Steven Tamm Date: Sun, 7 Nov 2004 05:57:08 +0000 (+0000) Subject: editfns.c: Need to include sys/time.h before resource.h on darwin. X-Git-Tag: ttn-vms-21-2-B4~4128 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31141c132b0e914551de73972577d3ae30d435dd;p=emacs.git editfns.c: Need to include sys/time.h before resource.h on darwin. --- 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