[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/editfns.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/editfns.c |
Date: |
Mon, 08 Nov 2004 07:11:06 -0500 |
Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.385 emacs/src/editfns.c:1.386
*** emacs/src/editfns.c:1.385 Sun Nov 7 05:57:58 2004
--- emacs/src/editfns.c Mon Nov 8 12:04:07 2004
***************
*** 22,27 ****
--- 22,28 ----
#include <config.h>
#include <sys/types.h>
+ #include <stdio.h>
#ifdef VMS
#include "vms-pwd.h"
***************
*** 33,47 ****
#include <unistd.h>
#endif
! /* Without this, sprintf on Mac OS Classic will produce wrong
! result. */
! #ifdef MAC_OS8
! #include <stdio.h>
! #endif
!
! #ifdef HAVE_SYS_TIME_H
! #include <sys/time.h>
! #endif
#if defined HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
--- 34,43 ----
#include <unistd.h>
#endif
! /* systime.h includes <sys/time.h> which, on some systems, is required
! for <sys/resource.h>; thus systime.h must be included before
! <sys/resource.h> */
! #include "systime.h"
#if defined HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
***************
*** 57,64 ****
#include "frame.h"
#include "window.h"
- #include "systime.h"
-
#ifdef STDC_HEADERS
#include <float.h>
#define MAX_10_EXP DBL_MAX_10_EXP
--- 53,58 ----