summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2019-01-12 07:55:28 +0000
committerdholland <dholland@pkgsrc.org>2019-01-12 07:55:28 +0000
commita1b6565731a0b4e3c3e0e4f016942de491cd79bf (patch)
tree5b62137273e008b1573f852b990c1e546037afbf /pkgtools/libnbcompat
parent9a207c20f00fa1cc52511aee4353cdfe0e804298 (diff)
downloadpkgsrc-a1b6565731a0b4e3c3e0e4f016942de491cd79bf.tar.gz
termcap.h also requires the change from PR 33037.
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat/termcap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/termcap.h b/pkgtools/libnbcompat/files/nbcompat/termcap.h
index 19b5508ca3c..33bc85531a9 100644
--- a/pkgtools/libnbcompat/files/nbcompat/termcap.h
+++ b/pkgtools/libnbcompat/files/nbcompat/termcap.h
@@ -1,4 +1,4 @@
-/* $NetBSD: termcap.h,v 1.2 2008/04/29 05:46:08 martin Exp $ */
+/* $NetBSD: termcap.h,v 1.3 2019/01/12 07:55:28 dholland Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -41,6 +41,11 @@
*/
#if !HAVE_TERMCAP_H
+# if !HAVE_SYS_CDEFS_H
+# include <nbcompat/cdefs.h>
+# endif
+# include <stdarg.h>
+
int tgetent __P((char *, const char *));
char *tgetstr __P((const char *, char **));
int tgetflag __P((const char *));