diff options
author | wl <wl> | 2005-06-22 04:56:56 +0000 |
---|---|---|
committer | wl <wl> | 2005-06-22 04:56:56 +0000 |
commit | 0ef9b05c12ad681d7d81a4a894a596b64f5ef721 (patch) | |
tree | d0924b4d4dc11168bf6ceef59dded03cd110bd90 | |
parent | a12094c617e7b44dc7c4bc2b46789f457433f60d (diff) | |
download | groff-0ef9b05c12ad681d7d81a4a894a596b64f5ef721.tar.gz |
* src/include/lib.h: Provide a fix for Mac OS X to not include
groff-getopt.h.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/include/lib.h | 5 |
2 files changed, 9 insertions, 3 deletions
@@ -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> |