Include string.h for memset. - catpoint - Catpoint simple presenting software. | |
git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrin… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 6649dc02de2035e52c61b3e62cc543fd6bfdb1a7 | |
parent 59a8c7e4ae0d424319bccc0ffa6ffa8ae88d2ba6 | |
Author: Christoph Lohmann <[email protected]> | |
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(-) | |
--- | |
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; |