summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/whereis.c')
-rw-r--r--misc-utils/whereis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index bc505c54f..239b1f4ae 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -41,6 +41,7 @@
#include <sys/dir.h>
#include <sys/stat.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "nls.h"
@@ -111,6 +112,7 @@ static char *bindirs[] = {
static char *mandirs[] = {
"/usr/man/*",
+ "/usr/share/man/*",
"/usr/X386/man/*",
"/usr/X11/man/*",
"/usr/TeX/man/*",