fix for fileno on solaris 2.5

This commit is contained in:
bdc 1996-11-04 01:29:46 +00:00
parent a7e3221b90
commit 99b82763bb
1 changed files with 5 additions and 0 deletions

View File

@ -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,