# HG changeset patch # User Jim Blandy # Date 737078871 0 # Node ID d7ed0a89ee4119d8fbf16a83529ac3b79a5e325c # Parent 8bb3e2a87cbb52eedc68f6b883f1471bbd73d978 * systime.h: Use the strategy from getdate.y to include the proper combination of and . diff -r 8bb3e2a87cbb -r d7ed0a89ee41 src/systime.h --- a/src/systime.h Mon May 10 23:58:36 1993 +0000 +++ b/src/systime.h Tue May 11 00:07:51 1993 +0000 @@ -17,27 +17,13 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#if defined (HAVE_TIMEVAL) && !defined (NEED_TIME_H) -/* NEED_TIME_H is necessary because some versions of HP/UX shouldn't - have this included; time.h should do the trick instead. */ - +#ifdef TM_IN_SYS_TIME #include - #else - -/* _h_BSDTYPES is checked because on ISC unix, socket.h includes - both time.h and sys/time.h, and the later file is protected - from repeated inclusion. We just hope that other systems will - use this guard either not at all, or similarly. */ -#ifndef _h_BSDTYPES #include -#endif /* _h_BSDTYPES */ - +#ifdef HAVE_SYS_TIME_H +#include #endif - -/* AIX and SCO 3.2v4 need both and . */ -#if defined (_AIX) || defined (SCO) -#include #endif /* SVr4 doesn't actually declare this in its #include files. */