diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2009-05-06 19:12:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2009-05-06 19:12:46 +0000 |
commit | f79c53661d3e538bce317eaa7f2c7f60c0a6aec0 (patch) | |
tree | 9080fd98dac4032f3002b8640b4ca00bd3a1dcc3 /usr.bin/tset | |
parent | e27786d83716d08c0a73e666c595b3dd2175d503 (diff) |
Use getttynam() from libc instead of the private version in tset.
Diffstat (limited to 'usr.bin/tset')
-rw-r--r-- | usr.bin/tset/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tset/Makefile b/usr.bin/tset/Makefile index a155330b639..0b3a4ccc40a 100644 --- a/usr.bin/tset/Makefile +++ b/usr.bin/tset/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2000/02/20 21:50:18 millert Exp $ +# $OpenBSD: Makefile,v 1.8 2009/05/06 19:12:45 millert Exp $ PROG= tset SRCS= tset.c dump_entry.c termcap.c @@ -6,7 +6,7 @@ DPADD= ${LIBCURSES} LDADD= -lcurses CURSES= ${.CURDIR}/../../lib/libcurses TIC= ${.CURDIR}/../tic -CFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I. +CFLAGS+= -I${CURSES} -I${TIC} -I${.CURDIR} -I. -DHAVE_GETTTYNAM -DHAVE_TTYENT_H CLEANFILES+= termsort.c .PATH: ${TIC} LINKS= ${BINDIR}/tset ${BINDIR}/reset |