commit 6649dc02de2035e52c61b3e62cc543fd6bfdb1a7
parent 59a8c7e4ae0d424319bccc0ffa6ffa8ae88d2ba6
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 20 Dec 2020 16:35:03 +0100
Include string.h for memset.
Thanks Bob!
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/catpoint.c b/catpoint.c
@@ -7,11 +7,12 @@
#include <err.h>
#include <curses.h>
#include <fcntl.h>
+#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include <locale.h>
char *currentslidep, **slidefiles; /* the slides */
int nslides, currentslide, currentslidelen, exitstatus = 1;