Introduction
Introduction Statistics Contact Development Disclaimer Help
fix build for other systems like - lchat - A line oriented chat front end for i…
git clone git://git.suckless.org/lchat
Log
Files
Refs
README
---
commit 46b720fa3c8b3be05294b9d2baf69a2f1c8cc20d
parent 8021e906ef9fffb74f35409782ce41100bf0efb7
Author: Jan Klemkow <[email protected]>
Date: Sun, 27 Dec 2015 23:45:06 +0100
fix build for other systems like
Diffstat:
M Makefile | 3 ++-
M lchat.1 | 2 +-
M lchat.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;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.