editfns.c: Need to include sys/time.h before resource.h on darwin.
authorSteven Tamm <steventamm@mac.com>
Sun, 7 Nov 2004 05:57:08 +0000 (05:57 +0000)
committerSteven Tamm <steventamm@mac.com>
Sun, 7 Nov 2004 05:57:08 +0000 (05:57 +0000)
src/ChangeLog
src/editfns.c

index ea57082..0e38706 100644 (file)
@@ -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.
index 2e8134d..bcffc54 100644 (file)
@@ -40,6 +40,9 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 #if defined HAVE_SYS_RESOURCE_H
+#ifdef MAC_OSX
+#include <sys/time.h>
+#endif
 #include <sys/resource.h>
 #endif