changeset 2803:ae964d7149a1

* systime.h: Borrow CPP sequence from getdate.y to include the proper combination of <time.h> and <sys/time.h>.
author Jim Blandy <jimb@redhat.com>
date Sat, 15 May 1993 20:47:28 +0000
parents 02c75b605550
children 6cbe25563857
files src/systime.h
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/systime.h	Sat May 15 20:32:23 1993 +0000
+++ b/src/systime.h	Sat May 15 20:47:28 1993 +0000
@@ -17,12 +17,14 @@
 along with GNU Emacs; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#ifdef TM_IN_SYS_TIME
+#ifdef TIME_WITH_SYS_TIME
+#include <sys/time.h>
+#include <time.h>
+#else
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #else
 #include <time.h>
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
 #endif
 #endif