1*39985Sbostic #ifndef lint 2*39985Sbostic #ifndef NOID 3*39985Sbostic #ifndef STDIO_H 4*39985Sbostic #define STDIO_H 5*39985Sbostic static char stdiohid[] = "@(#)stdio.h 4.2"; 6*39985Sbostic #endif /* !defined STDIO_H */ 7*39985Sbostic #endif /* !defined NOID */ 8*39985Sbostic #endif /* !defined lint */ 9*39985Sbostic 10*39985Sbostic #ifdef STDIO_RECURSING 11*39985Sbostic #include "/usr/include/stdio.h" 12*39985Sbostic #else /* !defined STDIO_RECURSING */ 13*39985Sbostic #define STDIO_RECURSING 14*39985Sbostic #include <stdio.h> 15*39985Sbostic #undef STDIO_RECURSING 16*39985Sbostic #endif /* !defined STDIO_RECURSING */ 17*39985Sbostic 18*39985Sbostic #ifndef FILENAME_MAX 19*39985Sbostic 20*39985Sbostic #ifndef MAXPATHLEN 21*39985Sbostic #ifdef unix 22*39985Sbostic #include <sys/param.h> 23*39985Sbostic #endif /* defined unix */ 24*39985Sbostic #endif /* !defined MAXPATHLEN */ 25*39985Sbostic 26*39985Sbostic #ifdef MAXPATHLEN 27*39985Sbostic #define FILENAME_MAX MAXPATHLEN 28*39985Sbostic #else /* !defined MAXPATHLEN */ 29*39985Sbostic #define FILENAME_MAX 1024 /* Pure guesswork */ 30*39985Sbostic #endif /* !defined MAXPATHLEN */ 31*39985Sbostic 32*39985Sbostic #endif /* !defined FILENAME_MAX */ 33*39985Sbostic 34*39985Sbostic #ifdef __STDC__ 35*39985Sbostic #ifdef __GNUC__ 36*39985Sbostic #ifndef remove 37*39985Sbostic #define remove(name) unlink(name) 38*39985Sbostic #endif /* !defined remove */ 39*39985Sbostic #endif /* defined __GNUC__ */ 40*39985Sbostic #endif /* defined __STDC__ */ 41*39985Sbostic 42*39985Sbostic #ifndef __STDC__ 43*39985Sbostic #ifdef unix 44*39985Sbostic 45*39985Sbostic #include <sys/param.h> 46*39985Sbostic #ifndef BSD 47*39985Sbostic extern void perror(); 48*39985Sbostic #endif /* !defined BSD */ 49*39985Sbostic 50*39985Sbostic #define remove(name) unlink(name) 51*39985Sbostic 52*39985Sbostic #endif /* defined unix */ 53*39985Sbostic #endif /* !defined __STDC__ */ 54*39985Sbostic 55*39985Sbostic /* 56*39985Sbostic ** UNIX is a registered trademark of AT&T. 57*39985Sbostic */ 58