summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-11-13 11:37:01 +0000
committerwlemb <wlemb>2001-11-13 11:37:01 +0000
commit5cb338bc7db9198b2508418f3ffdc248633b9800 (patch)
treebf78aaa999b6ba47d3467516232cab42d6c66b57
parent02ee3972626120a554836833c713be0f7204a9c4 (diff)
downloadgroff-5cb338bc7db9198b2508418f3ffdc248633b9800.tar.gz
* src/include/lib.h: Provide a fix for emx to not include
groff-getopt.h.
-rw-r--r--ChangeLog5
-rw-r--r--src/include/lib.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f26c3114..d508a635 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-12 Werner LEMBERG <wl@gnu.org>
+
+ * src/include/lib.h: Provide a fix for emx to not include
+ groff-getopt.h.
+
2001-10-27 Werner LEMBERG <wl@gnu.org>
* src/roff/troff/input.cc (substring_macro): Fix computation of
diff --git a/src/include/lib.h b/src/include/lib.h
index db0674a3..e507ee84 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -30,11 +30,12 @@ extern "C" {
const char *if_to_a(int, int);
}
-/* stdio.h on IRIX, OSF/1, and UWIN includes getopt.h */
+/* stdio.h on IRIX, OSF/1, emx, and UWIN include getopt.h */
#if !(defined(__sgi) \
|| (defined(__osf__) && defined(__alpha)) \
- || defined(_UWIN))
+ || defined(_UWIN) \
+ || defined(__EMX__))
#include <groff-getopt.h>
#endif