[PATCH 3/3] Revert "Revert "wpp: config.h and wine/port.h should be included first.""

Michael Stefaniuc mstefani at redhat.de
Tue Dec 29 11:07:44 CST 2009


This reverts commit 8e729245412e6b1e24b9871a0252b7e660fd24ec.
Wine requires now a new enough flex version.
---
 libs/wpp/ppl.l |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 05e7af2..1ce98fb 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -121,6 +121,11 @@
  *
  */
 
+%top{
+#include "config.h"
+#include "wine/port.h"
+}
+
 /*
  * Special flex options and exclusive scanner start-conditions
  */
@@ -156,8 +161,6 @@ cident	[a-zA-Z_][0-9a-zA-Z_]*
 ul	[uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
 
 %{
-#include "config.h"
-#include "wine/port.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-- 
1.6.6



More information about the wine-patches mailing list