From: Erwin Janssen Date: Sun, 11 Dec 2016 00:59:19 +0000 (+0100) Subject: Remove definition and usage of HAVE_TIME_H X-Git-Tag: 2.40.1~2^2~1^2^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ec59fa68f919ec9f02904ee97ca59e4b1a3a86a;p=graphviz Remove definition and usage of HAVE_TIME_H The header is part of the standard C library and is always available, checking is therefore not needed. --- diff --git a/cmd/tools/graph_generator.c b/cmd/tools/graph_generator.c index fca0838b0..a0f747b3a 100644 --- a/cmd/tools/graph_generator.c +++ b/cmd/tools/graph_generator.c @@ -16,9 +16,7 @@ #include #include #include -#ifdef HAVE_TIME_H #include -#endif #include void makePath(int n, edgefn ef) diff --git a/configure.ac b/configure.ac index 665a57356..8278e0d03 100644 --- a/configure.ac +++ b/configure.ac @@ -427,7 +427,7 @@ dnl Checks for header files # AC_HEADER_STDC AC_CHECK_HEADERS(malloc.h \ fcntl.h search.h pthread.h values.h limits.h termios.h \ - errno.h time.h unistd.h strings.h setjmp.h \ + errno.h unistd.h strings.h setjmp.h \ sys/time.h sys/times.h sys/types.h sys/select.h \ sys/stat.h sys/mman.h \ sys/ioctl.h sys/inotify.h langinfo.h libintl.h crt_externs.h) diff --git a/windows/include/config.h b/windows/include/config.h index 1dc49e977..0aa927027 100644 --- a/windows/include/config.h +++ b/windows/include/config.h @@ -326,9 +326,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_TERMIOS_H */ -/* Define to 1 if you have the header file. */ -#define HAVE_TIME_H 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_TKINT_H */