Include string.h for memset. - catpoint - Catpoint simple presenting software. HTML git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 6649dc02de2035e52c61b3e62cc543fd6bfdb1a7 DIR parent 59a8c7e4ae0d424319bccc0ffa6ffa8ae88d2ba6 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 20 Dec 2020 16:35:03 +0100 Include string.h for memset. Thanks Bob! Diffstat: M catpoint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR 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;