summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2005-06-22 04:56:56 +0000
committerwl <wl>2005-06-22 04:56:56 +0000
commit0ef9b05c12ad681d7d81a4a894a596b64f5ef721 (patch)
treed0924b4d4dc11168bf6ceef59dded03cd110bd90
parenta12094c617e7b44dc7c4bc2b46789f457433f60d (diff)
downloadgroff-0ef9b05c12ad681d7d81a4a894a596b64f5ef721.tar.gz
* src/include/lib.h: Provide a fix for Mac OS X to not include
groff-getopt.h.
-rw-r--r--ChangeLog7
-rw-r--r--src/include/lib.h5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 470e975b..886bf4c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2005-06-20 Denis M, Wilson dmw@oxytropis.plus.com
+2005-06-21 Werner LEMBERG <wl@gnu.org>
+
+ * src/include/lib.h: Provide a fix for Mac OS X to not include
+ groff-getopt.h.
+
+2005-06-20 Denis M. Wilson <dmw@oxytropis.plus.com>
* font/devps/prologue.ps (EP): Dont' use `bind'. Reason: Using
`bind' to define a procedure which contains `showpage' means that an
diff --git a/src/include/lib.h b/src/include/lib.h
index dbfdd66d..f6dd35fa 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -33,14 +33,15 @@ extern "C" {
}
/* stdio.h on IRIX, OSF/1, emx, UWIN, and MinGW include getopt.h */
-/* unistd.h on CYGWIN includes getopt.h */
+/* unistd.h on CYGWIN and Mac OS X include getopt.h */
#if !(defined(__sgi) \
|| (defined(__osf__) && defined(__alpha)) \
|| defined(_UWIN) \
|| defined(__EMX__) \
|| defined(__CYGWIN__) \
- || defined(__MINGW32__))
+ || defined(__MINGW32__) \
+ || defined(__APPLE__))
#include <groff-getopt.h>
#else
#include <getopt.h>