milter-regex.patch 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Index: eval.h
  2. --- eval.h.orig 2004-10-29 16:48:41 +0200
  3. +++ eval.h 2007-03-02 10:29:23 +0100
  4. @@ -33,7 +33,7 @@
  5. #ifndef _EVAL_H_
  6. #define _EVAL_H_
  7. -#include <regex.h>
  8. +#include "pcreposix.h"
  9. enum { VAL_UNDEF=0, VAL_TRUE, VAL_FALSE };
  10. enum { COND_CONNECT, COND_HELO, COND_ENVFROM, COND_ENVRCPT,
  11. Index: milter-regex.c
  12. --- milter-regex.c.orig 2005-03-06 12:42:53 +0100
  13. +++ milter-regex.c 2007-03-02 10:29:34 +0100
  14. @@ -49,7 +49,7 @@
  15. #ifdef __linux__
  16. #include <grp.h>
  17. #endif
  18. -#include <libmilter/mfapi.h>
  19. +#include "milter/mfapi.h"
  20. #include "eval.h"
  21. Index: parse.y
  22. --- parse.y.orig 2004-10-29 16:48:42 +0200
  23. +++ parse.y 2007-03-02 10:29:47 +0100
  24. @@ -39,12 +39,11 @@
  25. #include <stdio.h>
  26. #include <stdlib.h>
  27. #include <string.h>
  28. -#include <libmilter/mfapi.h>
  29. +#include "milter/mfapi.h"
  30. #include "eval.h"
  31. int yyerror(char *, ...);
  32. -static int yyparse(void);
  33. static int define_macro(const char *, struct expr *);
  34. static struct expr *find_macro(const char *);