diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/lib.h | 2 | ||||
-rw-r--r-- | src/libs/libgroff/tmpname.cc | 8 | ||||
-rw-r--r-- | src/preproc/tbl/tbl.man | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index 03038951..06ec5756 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -78,7 +78,7 @@ inline int illegal_input_char(int c) #ifdef HAVE_STRCASECMP #ifdef NEED_DECLARATION_STRCASECMP extern "C" { - // Ultrix's string.h fails to declare this. + // Ultrix4.3's string.h fails to declare this. int strcasecmp(const char *, const char *); } #endif /* NEED_DECLARATION_STRCASECMP */ diff --git a/src/libs/libgroff/tmpname.cc b/src/libs/libgroff/tmpname.cc index bd0e3a07..05510ecb 100644 --- a/src/libs/libgroff/tmpname.cc +++ b/src/libs/libgroff/tmpname.cc @@ -39,6 +39,14 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # include <sys/time.h> #endif +#ifdef HAVE_GETTIMEOFDAY +#ifdef NEED_DECLARATION_GETTIMEOFDAY +extern "C" { + int gettimeofday(struct timeval *, void *); +} +#endif +#endif + #if HAVE_STDINT_H # include <stdint.h> #endif diff --git a/src/preproc/tbl/tbl.man b/src/preproc/tbl/tbl.man index 7447f02a..e3ff70d2 100644 --- a/src/preproc/tbl/tbl.man +++ b/src/preproc/tbl/tbl.man @@ -88,7 +88,7 @@ macro may contain any of the following global options: Centers the table (default is left-justified). The alternative keyword name .B centre -is also recognized. +is also recognized (this is a GNU tbl extension). . .TP .BI delim( xy ) |