} else {
f_print(fout, "#include <afsconfig.h>\n");
f_print(fout, "#include <afs/param.h>\n");
+ f_print(fout, "#include <roken.h>\n");
}
f_print(fout, "#ifdef AFS_NT40_ENV\n");
f_print(fout, "#define AFS_RXGEN_EXPORT __declspec(dllexport)\n");
+ f_print(fout, "#include <winsock2.h>\n");
f_print(fout, "#endif /* AFS_NT40_ENV */\n");
}
if (currfile && (include = extendfile(currfile, ".h"))) {
if (kflag) {
f_print(fout, "#include \"%s\"\n\n", include);
} else {
+ f_print(fout, "#include <afsconfig.h>\n");
+ f_print(fout, "#include <afs/param.h>\n");
+ f_print(fout, "#include <roken.h>\n");
f_print(fout, "#include \"%s\"\n\n", include);
}
free(include);
if (kflag) {
f_print(fout, "#include \"%s\"\n", include);
} else {
+ f_print(fout, "#include <afsconfig.h>\n");
+ f_print(fout, "#include <afs/param.h>\n");
+ f_print(fout, "#include <roken.h>\n");
f_print(fout, "#include \"%s\"\n\n", include);
}
free(include);