kumquat-buildroot/package/at/0005-parsetime.l-include-config-h.patch
Vicente Olivert Riera 3a7fce0c95 at: rename patches so they are in a consecutive order
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-29 15:26:40 +01:00

17 lines
502 B
Diff

Make sure to include config.h so that NEEDS_* macros are properly
taken into account. This was a problem for NEEDS_YYWRAP, which was set
to 1 in config.h, but the corresponding code wasn't compiled in.
Index: at-3.1.13/parsetime.l
===================================================================
--- at-3.1.13.orig/parsetime.l
+++ at-3.1.13/parsetime.l
@@ -4,6 +4,7 @@
#include <time.h>
#include "y.tab.h"
#include "parsetime.h"
+#include "config.h"
char *last_token = NULL;
char **my_argv;