summaryrefslogtreecommitdiff
path: root/lib/libcurses/curses.priv.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-07-04 12:43:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-07-04 12:43:23 +0000
commit01b0050483992cef9885e072e5285a13414c45f2 (patch)
treea9f98382969b8cbc5123d9f9f0b60193f5b9c42e /lib/libcurses/curses.priv.h
parent3b9acfa9b1d0142a8988d1467b24822bac011e80 (diff)
ncurses-5.0-990703 -- better support for mixing termcap and terminfo/curses routines
Diffstat (limited to 'lib/libcurses/curses.priv.h')
-rw-r--r--lib/libcurses/curses.priv.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libcurses/curses.priv.h b/lib/libcurses/curses.priv.h
index 0d88a7ad442..a833421b910 100644
--- a/lib/libcurses/curses.priv.h
+++ b/lib/libcurses/curses.priv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: curses.priv.h,v 1.19 1999/06/27 08:15:19 millert Exp $ */
+/* $OpenBSD: curses.priv.h,v 1.20 1999/07/04 12:43:22 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -35,7 +35,7 @@
/*
- * $From: curses.priv.h,v 1.141 1999/06/26 22:00:49 tom Exp $
+ * $From: curses.priv.h,v 1.142 1999/07/04 01:21:35 tom Exp $
*
* curses.priv.h
*
@@ -421,6 +421,10 @@ typedef struct {
#endif
/* usually in <unistd.h> */
+#ifndef STDIN_FILENO
+#define STDIN_FILENO 0
+#endif
+
#ifndef STDOUT_FILENO
#define STDOUT_FILENO 1
#endif