lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit 46b720fa3c8b3be05294b9d2baf69a2f1c8cc20d
parent 8021e906ef9fffb74f35409782ce41100bf0efb7
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Sun, 27 Dec 2015 23:45:06 +0100

fix build for other systems like

Diffstat:
MMakefile | 3++-
Mlchat.1 | 2+-
Mlchat.c | 4++++
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -11,7 +11,8 @@ lchat: lchat.o slackline.o $(CC) -o $@ lchat.o slackline.o -ltermlib lchat.o: lchat.c - $(CC) -c $(CFLAGS) -o $@ lchat.c + $(CC) -c $(CFLAGS) -D_BSD_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE \ + -o $@ lchat.c slackline.o: slackline.c slackline.h $(CC) -c $(CFLAGS) -o $@ slackline.c diff --git a/lchat.1 b/lchat.1 @@ -29,7 +29,7 @@ and files inside of the .Ar directory path. - +.sp 1 The options are as follows: .Bl -tag -width Ds .It Fl a diff --git a/lchat.c b/lchat.c @@ -30,6 +30,10 @@ #include "slackline.h" +#ifndef INFTIM +#define INFTIM -1 +#endif + struct termios origin_term; struct winsize winsize;