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
This commit is contained in:
		@@ -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) */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user