]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - misc-utils/whereis.c
Imported from util-linux-2.10s tarball.
[thirdparty/util-linux.git] / misc-utils / whereis.c
index bc505c54f005c534fac54961b6b26b63be93f351..239b1f4aee27c9c40523d8358d7906cdf92e057f 100644 (file)
@@ -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/*",