f4111ebf678826f39d52036eb337debd5974b07b
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / at / 0007-parsetime.l-include-config-h.patch
1 Make sure to include config.h so that NEEDS_* macros are properly
2 taken into account. This was a problem for NEEDS_YYWRAP, which was set
3 to 1 in config.h, but the corresponding code wasn't compiled in.
4
5 Index: at-3.1.13/parsetime.l
6 ===================================================================
7 --- at-3.1.13.orig/parsetime.l
8 +++ at-3.1.13/parsetime.l
9 @@ -4,6 +4,7 @@
10  #include <time.h>
11  #include "y.tab.h"
12  #include "parsetime.h"
13 +#include "config.h"
14  
15  char *last_token = NULL;
16  char **my_argv;