hirc

IRC client
Log | Files | Refs

commit 4c1a3cf1d257b337ed1d6c1c00b486df46dd4519
parent ec6497bb1cf71b34d13acf9d83fa385219ad5faa
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 13 Mar 2022 14:05:53 +0000

Include wchar.h where needed

Diffstat:
Msrc/hirc.h | 1+
Msrc/main.c | 1+
Msrc/struct.h | 1+
Msrc/ui.c | 1+
4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/hirc.h b/src/hirc.h @@ -20,6 +20,7 @@ #ifndef H_HIRC #define H_HIRC +#include <wchar.h> #include "struct.h" #define PARAM_MAX 64 #define INPUT_MAX 8192 diff --git a/src/main.c b/src/main.c @@ -18,6 +18,7 @@ */ #include <stdio.h> +#include <wchar.h> #include <errno.h> #include <stdlib.h> #include <libgen.h> diff --git a/src/struct.h b/src/struct.h @@ -269,6 +269,7 @@ struct Selected { int hasnicks; }; +#include <wchar.h> struct Keybind { struct Keybind *prev; char *binding; diff --git a/src/ui.c b/src/ui.c @@ -19,6 +19,7 @@ #include <errno.h> #include <ctype.h> +#include <wchar.h> #include <wctype.h> #include <stdarg.h> #include <string.h>