Revert "generated files must #include config if supported"
therefore #include config.h is not required.
This reverts commit 9be792055c
.
This commit is contained in:
@@ -158,9 +158,6 @@ init_generate (const char *filename, const char *base)
|
||||
"#ifndef __%s_h__\n"
|
||||
"#define __%s_h__\n\n", headerbase, headerbase);
|
||||
fprintf (headerfile,
|
||||
"#ifdef HAVE_CONFIG_H\n"
|
||||
"#include <config.h>\n"
|
||||
"#endif\n"
|
||||
"#include <stddef.h>\n"
|
||||
"#include <time.h>\n\n");
|
||||
fprintf (headerfile,
|
||||
@@ -265,10 +262,7 @@ init_generate (const char *filename, const char *base)
|
||||
fprintf (templatefile,
|
||||
"/* Generated from %s */\n"
|
||||
"/* Do not edit */\n\n"
|
||||
"#ifdef HAVE_CONFIG_H\n"
|
||||
"#include <config.h>\n"
|
||||
"#endif\n"
|
||||
"#include <stdio.h>\n"
|
||||
"#include <stdio.h>\n"
|
||||
"#include <stdlib.h>\n"
|
||||
"#include <stdint.h>\n"
|
||||
"#include <time.h>\n"
|
||||
@@ -367,10 +361,7 @@ generate_header_of_codefile(const char *name)
|
||||
fprintf (codefile,
|
||||
"/* Generated from %s */\n"
|
||||
"/* Do not edit */\n\n"
|
||||
"#ifdef HAVE_CONFIG_H\n"
|
||||
"#include <config.h>\n"
|
||||
"#endif\n"
|
||||
"#define ASN1_LIB\n\n"
|
||||
"#define ASN1_LIB\n\n"
|
||||
"#include <stdio.h>\n"
|
||||
"#include <stdlib.h>\n"
|
||||
"#include <stdint.h>\n"
|
||||
|
Reference in New Issue
Block a user