# | Line 54 | Line 54 | |
---|---|---|
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; | |
# | Line 469 | Line 469 | int statgrab_init(){ | |
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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |