summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src/include/posix.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-11 08:52:17 +0000
committerru <ru@FreeBSD.org>2002-10-11 08:52:17 +0000
commit49694bd3ad767a896dc092289a2b59c780a3ba02 (patch)
tree3ab4ff2268c18cde66cbf296cc57caf69acdea70 /contrib/groff/src/include/posix.h
parentb6731a278e1260409b42bb486cc7592dd1a19203 (diff)
parent127e61728bacf1fb90edd8be1b0c406619e78bc8 (diff)
downloadFreeBSD-src-49694bd3ad767a896dc092289a2b59c780a3ba02.zip
FreeBSD-src-49694bd3ad767a896dc092289a2b59c780a3ba02.tar.gz
This commit was generated by cvs2svn to compensate for changes in r104862,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/groff/src/include/posix.h')
-rw-r--r--contrib/groff/src/include/posix.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/contrib/groff/src/include/posix.h b/contrib/groff/src/include/posix.h
index 1b7d5cd..e7f38cd 100644
--- a/contrib/groff/src/include/posix.h
+++ b/contrib/groff/src/include/posix.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 2000, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -42,6 +42,14 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define S_IROTH 0004
#endif
+#ifndef S_IWUSR
+#define S_IWUSR 0200
+#endif
+
+#ifndef S_IXUSR
+#define S_IXUSR 0100
+#endif
+
#ifndef S_ISREG
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif
@@ -49,3 +57,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef O_RDONLY
#define O_RDONLY 0
#endif
+
+#ifndef HAVE_ISATTY
+#define isatty(n) (1)
+#endif
OpenPOWER on IntegriCloud