summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2021-03-26 16:15:46 +0100
committerKim Woelders <kim@woelders.dk>2021-03-26 16:33:08 +0100
commit901f4af6995a7333ce31f17a3b10f3aa96b1daa6 (patch)
treecb3ad22efafb37c34c6b08de76d346ecba1575e0
parenteffc4cc774d373ae3d56712ee9c3e260101de855 (diff)
Eliminate obsolete AC_HEADER_TIME
-rw-r--r--api/epplet.c1
-rw-r--r--api/epplet.h.in4
-rw-r--r--configure.ac1
-rw-r--r--epplets/E-NetGraph.c1
4 files changed, 2 insertions, 5 deletions
diff --git a/api/epplet.c b/api/epplet.c
index 4866bd0..10c8a32 100644
--- a/api/epplet.c
+++ b/api/epplet.c
@@ -4,6 +4,7 @@
4#include <fcntl.h> 4#include <fcntl.h>
5#include <sys/utsname.h> 5#include <sys/utsname.h>
6#include <signal.h> 6#include <signal.h>
7#include <sys/time.h>
7#include <sys/wait.h> 8#include <sys/wait.h>
8#include <X11/Xatom.h> 9#include <X11/Xatom.h>
9#include <X11/XKBlib.h> 10#include <X11/XKBlib.h>
diff --git a/api/epplet.h.in b/api/epplet.h.in
index cef0c5f..e8b5a94 100644
--- a/api/epplet.h.in
+++ b/api/epplet.h.in
@@ -27,10 +27,6 @@
27#include <sys/types.h> 27#include <sys/types.h>
28#include <sys/stat.h> 28#include <sys/stat.h>
29 29
30#ifdef TIME_WITH_SYS_TIME
31#include <sys/time.h>
32#endif
33
34#ifdef HAVE_GLX 30#ifdef HAVE_GLX
35#include <GL/glx.h> 31#include <GL/glx.h>
36#endif 32#endif
diff --git a/configure.ac b/configure.ac
index c310bf1..3b3cebd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,7 +44,6 @@ AC_PATH_XTRA
44dnl# Checks for header files. 44dnl# Checks for header files.
45AC_HEADER_SYS_WAIT 45AC_HEADER_SYS_WAIT
46AC_CHECK_HEADERS(unistd.h time.h math.h pwd.h sys/types.h varargs.h stdarg.h) 46AC_CHECK_HEADERS(unistd.h time.h math.h pwd.h sys/types.h varargs.h stdarg.h)
47AC_HEADER_TIME
48 47
49dnl# Missing typedefs and replacements 48dnl# Missing typedefs and replacements
50AC_TYPE_MODE_T 49AC_TYPE_MODE_T
diff --git a/epplets/E-NetGraph.c b/epplets/E-NetGraph.c
index d37651f..4d94027 100644
--- a/epplets/E-NetGraph.c
+++ b/epplets/E-NetGraph.c
@@ -7,6 +7,7 @@
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <sys/resource.h> 9#include <sys/resource.h>
10#include <sys/time.h>
10 11
11#include "config.h" 12#include "config.h"
12#include "epplet.h" 13#include "epplet.h"