summaryrefslogtreecommitdiff
path: root/src/include/posix.h
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-07-20 07:43:28 +0000
committerwlemb <wlemb>2001-07-20 07:43:28 +0000
commit8ec25476b88dc3138d74c285cf249a90200ae6ac (patch)
treeed562945d84990b5a5357ec74702db60cc7f87f7 /src/include/posix.h
parent3a40558a18508ccef13f9d14a54d8932db37cca7 (diff)
downloadgroff-8ec25476b88dc3138d74c285cf249a90200ae6ac.tar.gz
* src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()
instead of current code. * src/devices/grohtml/post-html.cc (main): Handle `-d' option. * src/roff/groff/groff.cc (possible_command::insert_args): New function. (main): Use it for predriver handling instead of insert_arg(). * src/include/posix.h: Define S_IWUSR if not yet defined.
Diffstat (limited to 'src/include/posix.h')
-rw-r--r--src/include/posix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/posix.h b/src/include/posix.h
index 1b7d5cdc..80f59cad 100644
--- a/src/include/posix.h
+++ b/src/include/posix.h
@@ -42,6 +42,10 @@ 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_ISREG
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif