Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5cbdb356
Commit
5cbdb356
authored
May 11, 1993
by
Jim Blandy
Browse files
* systime.h: Use the strategy from getdate.y to include the proper
combination of <time.h> and <sys/time.h>.
parent
942990d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
src/systime.h
src/systime.h
+3
-17
No files found.
src/systime.h
View file @
5cbdb356
...
...
@@ -17,27 +17,13 @@ You should have received a copy of the GNU General Public License
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 <sys/time.h>
#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 <time.h>
#
endif
/* _h_BSDTYPES */
#
ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
/* AIX and SCO 3.2v4 need both <sys/time.h> and <time.h>. */
#if defined (_AIX) || defined (SCO)
#include <time.h>
#endif
/* SVr4 doesn't actually declare this in its #include files. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment