Skip to content

Commit 20bd175

Browse files
committed
Remove check for time.h and HAVE_TIME_H
The `<time.h>` header file is part of the standard C89 headers [1] and on current systems can be included unconditionally. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
1 parent c0ce3e7 commit 20bd175

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Zend/zend_hrtime.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
#ifdef HAVE_UNISTD_H
2525
# include <unistd.h>
2626
#endif
27-
#ifdef HAVE_TIME_H
28-
# include <time.h>
29-
#endif
27+
#include <time.h>
3028

3129
/* This file reuses code parts from the cross-platform timer library
3230
Public Domain - 2011 Mattias Jansson / Rampant Pixels */

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ dirent.h \
396396
sys/param.h \
397397
sys/types.h \
398398
sys/time.h \
399-
time.h \
400399
netinet/in.h \
401400
alloca.h \
402401
arpa/inet.h \

0 commit comments

Comments
 (0)