| # | Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 10 | ||
| 11 | #include "standard.h" | |
| 12 | #include <fcntl.h> | |
| 13 | + | |
| 14 | + | #ifndef F_SETLKW |
| 15 | + | |
| 16 | + | main(argc, argv) |
| 17 | + | int argc; |
| 18 | + | char *argv[]; |
| 19 | + | { |
| 20 | + | fprintf(stderr, "%s: no NFS lock manager on this machine\n", argv[0]); |
| 21 | + | exit(1); |
| 22 | + | } |
| 23 | + | |
| 24 | + | #else |
| 25 | + | |
| 26 | #include <signal.h> | |
| 27 | #include "color.h" | |
| 28 | #include "view.h" | |
| # | Line 405 | Line 418 | writerr: | |
| 418 | fprintf(stderr, "%s: write error on file \"%s\"\n", progname, outfile); | |
| 419 | _exit(1); | |
| 420 | } | |
| 421 | + | |
| 422 | + | #endif |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |