changeset 58010:0a98ca85a5c6

editfns.c: Need to include sys/time.h before resource.h on darwin.
author Steven Tamm <steventamm@mac.com>
date Sun, 07 Nov 2004 05:57:08 +0000
parents 07de2e31fd49
children 79614f2016d5
files src/ChangeLog src/editfns.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Nov 07 04:10:38 2004 +0000
+++ b/src/ChangeLog	Sun Nov 07 05:57:08 2004 +0000
@@ -1,3 +1,7 @@
+2004-11-06  Steven Tamm  <steventamm@mac.com>
+
+	* editfns.c: Need to include sys/time.h before resource.h on darwin.
+
 2004-11-06  Richard M. Stallman  <rms@gnu.org>
 
 	* callint.c (Fcall_interactively): Avoid reusing EVENT for other data.
--- a/src/editfns.c	Sun Nov 07 04:10:38 2004 +0000
+++ b/src/editfns.c	Sun Nov 07 05:57:08 2004 +0000
@@ -40,6 +40,9 @@
 #endif
 
 #if defined HAVE_SYS_RESOURCE_H
+#ifdef MAC_OSX
+#include <sys/time.h>
+#endif
 #include <sys/resource.h>
 #endif