zygo

ncurses gopher client
Log | Files | Refs

commit 70f1e016b49e93d990ad686ebd8b1998aa45e5f4
parent f7e45e16afb09df0032b6d70c7feb4b434f6b0ed
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 23 Jan 2022 00:05:33 +0000

Makefile zygo.c: widechar stuff

Diffstat:
MMakefile | 2+-
Mzygo.c | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -22,7 +22,7 @@ MAN = zygo.1 SRC += zygo.c OBJ = $(SRC:.c=.o) COMMIT = $(shell git log HEAD...HEAD~1 --pretty=format:%h) -LDFLAGS = -lncurses +LDFLAGS = -lncursesw CFLAGS = -DCOMMIT=\"$(COMMIT)\" include config.mk diff --git a/zygo.c b/zygo.c @@ -29,6 +29,7 @@ #include <regex.h> #include <ctype.h> #include <stdio.h> +#include <wchar.h> #include <sys/wait.h> #include "zygo.h" #include "config.h"