4 print "#include <config.h>"
5 print "#include <stdio.h>"
6 print "#ifdef HAVE_SYS_TYPES_H"
7 print "#include <sys/types.h>"
9 print "#ifdef HAVE_SYS_SOCKET_H"
10 print "#include <sys/socket.h>"
12 print "#ifdef HAVE_ERRNO_H"
13 print "#include <errno.h>"
16 print "int main(int argc, char **argv)"
18 print "puts(\"/* This is an OS dependent, generated file */\");"
19 print "puts(\"\\n\");"
20 print "puts(\"#ifndef __ROKEN_H__\");"
21 print "puts(\"#define __ROKEN_H__\");"
25 $
1 ==
"#ifdef" || $
1 ==
"#ifndef" || $
1 ==
"#if" || $
1 ==
"#else" || $
1 ==
"#elif" || $
1 ==
"#endif" {
32 for(i =
1; i
<=
length; i
++){
34 if(x ==
"\"" || x ==
"\\")
38 print "puts(\"" s
"\");"
43 print "puts(\"#endif /* __ROKEN_H__ */\");"