index 629775ab8c44dd55de5d930d0189168546d455c3..af11ad6c09fb9fafef5fdfd5fab11b6f7df79e76 100644 (file)
--- a/src/liboconfig/oconfig.c
+++ b/src/liboconfig/oconfig.c
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oconfig.h"
extern FILE *yyin;
#include "oconfig.h"
extern FILE *yyin;
+int yyparse (void);
oconfig_item_t *ci_root;
const char *c_file;
oconfig_item_t *ci_root;
const char *c_file;
if (status != 0)
{
fprintf (stderr, "yyparse returned error #%i\n", status);
if (status != 0)
{
fprintf (stderr, "yyparse returned error #%i\n", status);
+ c_file = NULL;
return (NULL);
}
return (NULL);
}