commit 620496f5cdcf5818e43ab84781fc7414a14ebe49
parent 73cd96838e5ea7cb2f72d335ff31eaeb796d7764
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 13 Sep 2020 19:40:39 +0200
build: avoid two compiler warnings when gnulib has been ripped out
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/search.c b/src/search.c
@@ -22,6 +22,7 @@
#include "prototypes.h"
#include <string.h>
+#include <time.h>
static bool came_full_circle = FALSE;
/* Have we reached the starting line again while searching? */
diff --git a/src/text.c b/src/text.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <sys/wait.h>