settings: Include generated header after others

Newer Bison versions declare the parser function in the header, which
requires custom types.
This commit is contained in:
Tobias Brunner
2014-05-15 11:28:09 +02:00
parent f65ac98c64
commit 813e510d69
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -14,10 +14,10 @@
* for more details.
*/
#include "settings_parser.h"
#include <utils/parser_helper.h>
#include "settings_parser.h"
bool settings_parser_open_next_file(parser_helper_t *ctx);
static void include_files(parser_helper_t *ctx);
+2 -2
View File
@@ -17,13 +17,13 @@
#define _GNU_SOURCE /* for asprintf() */
#include <stdio.h>
#include "settings_parser.h"
#include <library.h>
#include <collections/array.h>
#include <settings/settings_types.h>
#include <utils/parser_helper.h>
#include "settings_parser.h"
#define YYDEBUG 1
/**