diff options
Diffstat (limited to 'contrib/groff/xditview/device.c')
-rw-r--r-- | contrib/groff/xditview/device.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/groff/xditview/device.c b/contrib/groff/xditview/device.c index 399f0645b63f..f1e51deadc59 100644 --- a/contrib/groff/xditview/device.c +++ b/contrib/groff/xditview/device.c @@ -9,7 +9,7 @@ #include "device.h" #ifndef FONTPATH -#define FONTPATH "/usr/local/lib/groff/font:/usr/local/lib/font:/usr/lib/font" +#define FONTPATH "/usr/local/share/groff/font:/usr/local/lib/font:/usr/lib/font" #endif #ifndef isascii @@ -17,8 +17,15 @@ #endif extern void exit(); -extern char *strtok(), *strchr(); +#ifndef strtok +extern char *strtok(); +#endif +#ifndef strchr +extern char *strchr(); +#endif +#ifndef getenv extern char *getenv(); +#endif /* Name of environment variable containing path to be used for searching for device and font description files. */ |