| # | Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 10 | ||
| 11 | #define NULL 0 | |
| 12 | ||
| 13 | + | #ifndef NIX |
| 14 | #include <pwd.h> | |
| 15 | + | #endif |
| 16 | ||
| 17 | #ifndef DIRSEP | |
| 18 | #define DIRSEP '/' | |
| # | Line 29 | Line 31 | register char *fname; | |
| 31 | register char *searchpath; | |
| 32 | int mode; | |
| 33 | { | |
| 34 | < | static char pname[256]; |
| 34 | > | #ifndef NIX |
| 35 | struct passwd *pwent; | |
| 36 | + | #endif |
| 37 | + | static char pname[256]; |
| 38 | register char *cp; | |
| 39 | ||
| 40 | if (fname == NULL) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |