diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-09 10:59:58 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-09 10:59:58 +0400 |
commit | 999bf72f49a501e47448010c4ddb06dc03ed1612 (patch) | |
tree | 75d6c4187384bc385d59838834bac80f53a077cd /loadacm.c | |
parent | e9b527ae48cb9609ea0668974de32da523ebd231 (diff) |
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
Diffstat (limited to 'loadacm.c')
-rw-r--r-- | loadacm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ int screen_map_load(int fd, FILE * fp) int parse_failed = 0; int is_unicode; - if (fstat(fp->_fileno, &stbuf)) + if (fstat(fileno(fp), &stbuf)) perror("Cannot stat map file"), exit(1); /* first try a UTF screen-map: either ASCII (no restriction) or binary (regular file) */ |