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>"
13 print "int main(int argc, char **argv)"
15 print "puts(\"/* This is an OS dependent, generated file */\");"
16 print "puts(\"\\n\");"
17 print "puts(\"#ifndef __ROKEN_H__\");"
18 print "puts(\"#define __ROKEN_H__\");"
22 $
1 ==
"#ifdef" || $
1 ==
"#ifndef" || $
1 ==
"#if" || $
1 ==
"#else" || $
1 ==
"#elif" || $
1 ==
"#endif" {
29 for(i =
1; i
<=
length; i
++){
31 if(x ==
"\"" || x ==
"\\")
35 print "puts(\"" s
"\");"
40 print "puts(\"#endif /* __ROKEN_H__ */\");"