at-3.1.12-0007-include-config-h.patch 574 B

12345678910111213141516
  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. Index: at-3.1.12/parsetime.l
  5. ===================================================================
  6. --- at-3.1.12.orig/parsetime.l 2010-02-10 00:17:46.000000000 +0100
  7. +++ at-3.1.12/parsetime.l 2010-02-10 00:18:07.000000000 +0100
  8. @@ -4,6 +4,7 @@
  9. #include <time.h>
  10. #include "y.tab.h"
  11. #include "parsetime.h"
  12. +#include "config.h"
  13. char *last_token = NULL;
  14. char **my_argv;