17 |
|
* License along with this library; if not, write to the Free Software |
18 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
19 |
|
* 02111-1307 USA |
20 |
+ |
* |
21 |
+ |
* $Id$ |
22 |
|
*/ |
23 |
|
|
24 |
|
#ifdef HAVE_CONFIG_H |
54 |
|
#include <dirent.h> |
55 |
|
#endif |
56 |
|
|
57 |
< |
#ifdef SOLARIS |
57 |
> |
#if defined(SOLARIS) && !defined(HAVE_LIBDEVINFO_H) |
58 |
|
struct map{ |
59 |
|
char *bsd; |
60 |
|
char *svr; |
469 |
|
* will still work, just no disk mappings. So we will ignore the exit |
470 |
|
* status of this, and carry on merrily. |
471 |
|
*/ |
472 |
+ |
#ifdef(HAVE_LIBDEVINFO_H) |
473 |
|
build_mapping(); |
474 |
+ |
#endif |
475 |
|
#endif |
476 |
|
return 0; |
477 |
|
} |