]> code.delx.au - gnu-emacs/commitdiff
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 ea570820e1af78dccfa38f9f9e8a7e5c5d1aa6d3..0e3870669c0fcf530449851c918ffb83a99d2ac0 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 2e8134d4495b885bac04c332cd3fba3e71ed4a57..bcffc545b6a58448cfdf60bb0f1572ac0115b008 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