dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 07bc7340e724f4ffd1f3ac46d15de6f0d07bcdc7
parent ad35ceb5fb10ecccbe1d2c32f7c1c01138233c21
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 16 Oct 2014 20:48:51 +0200

Set _POSIX_C_SOURCE and _XOPEN_SOURCE instead of _GNU_SOURCE

Diffstat:
config.mk | 2+-
vt.c | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -21,7 +21,7 @@ LIBS = -lc -lutil -lncursesw # Cygwin #INCS = -I/usr/include/ncurses -CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_GNU_SOURCE +CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 LDFLAGS += ${LIBS} DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter diff --git a/vt.c b/vt.c @@ -20,6 +20,7 @@ #include <errno.h> #include <fcntl.h> #include <langinfo.h> +#include <alloca.h> #include <limits.h> #include <signal.h> #include <stdio.h>