From 48fadbe8c9c0e13a4d3b98d0224335a54f04645a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 19 May 1997 00:23:30 +0200
Subject: [PATCH] Now includes <sys/time.h> to avoid a warning.

Rev: src/modules/call_out/call_out.c:1.11
Rev: src/modules/call_out/configure.in:1.4
---
 src/modules/call_out/call_out.c   | 6 +++++-
 src/modules/call_out/configure.in | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/modules/call_out/call_out.c b/src/modules/call_out/call_out.c
index 8fa5550856..4b58191748 100644
--- a/src/modules/call_out/call_out.c
+++ b/src/modules/call_out/call_out.c
@@ -4,7 +4,7 @@
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
 #include "global.h"
-RCSID("$Id: call_out.c,v 1.10 1997/04/23 02:00:34 hubbe Exp $");
+RCSID("$Id: call_out.c,v 1.11 1997/05/18 22:23:29 grubba Exp $");
 #include "array.h"
 #include "dynamic_buffer.h"
 #include "object.h"
@@ -23,6 +23,10 @@ RCSID("$Id: call_out.c,v 1.10 1997/04/23 02:00:34 hubbe Exp $");
 
 #include <math.h>
 
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif /* HAVE_SYS_TIME_H */
+
 struct call_out_s
 {
   struct timeval tv;
diff --git a/src/modules/call_out/configure.in b/src/modules/call_out/configure.in
index 0a9bb62770..1f61a2b1f2 100644
--- a/src/modules/call_out/configure.in
+++ b/src/modules/call_out/configure.in
@@ -2,6 +2,8 @@ AC_INIT(call_out.c)
 
 sinclude(../module_configure.in)
 
+AC_HAVE_HEADERS(sys/time.h)
+
 AC_OUTPUT(Makefile,echo FOO >stamp-h )
 
 
-- 
GitLab