aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/freebsd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 15bbe2b6426..72337a02216 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -173,3 +173,11 @@
173 jmp_buf. */ 173 jmp_buf. */
174 174
175#define GC_SETJMP_WORKS 1 175#define GC_SETJMP_WORKS 1
176
177/* In FreeBSD 4, we must use terminfo.o instead of tparam.o. Termcap
178 capabilities use %-specifiers that tparm.o cannot handle.
179 Libtermcap.a contains a `tparm' that terminfo.c can use. */
180
181#if __FreeBSD__ >= 4
182#define TERMCAP_OBJ terminfo.o
183#endif