fix for fileno on solaris 2.5
This commit is contained in:
		
							parent
							
								
									a7e3221b90
								
							
						
					
					
						commit
						99b82763bb
					
				|  | @ -26,6 +26,11 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| /* somewhere around solaris 2.5 this changed to a function */ | ||||
| #ifndef fileno | ||||
| #define fileno(p)       ((p)->_file) | ||||
| #endif | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 bdc
						bdc