Rob Shearman : libwpp: Include wine/port.h in ppl.l as strcasecmp is used, which isn't available on all platforms.

Alexandre Julliard julliard at winehq.org
Tue Mar 4 14:31:40 CST 2008


Module: wine
Branch: master
Commit: dfcd07eba0e0524b0ede06dc39a07a14d68dfa9c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dfcd07eba0e0524b0ede06dc39a07a14d68dfa9c

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Mar  3 21:47:14 2008 +0000

libwpp: Include wine/port.h in ppl.l as strcasecmp is used, which isn't available on all platforms.

---

 libs/wpp/ppl.l |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 5c39dbb..4bb928c 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -156,7 +156,8 @@ 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 "config.h"
+#include "wine/port.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>




More information about the wine-cvs mailing list