server: Include stdarg.h in completion.c. Needed for older gcc versions.

Michael Stefaniuc mstefani at redhat.de
Wed Sep 26 14:16:23 CDT 2007


The gcc-3.1.1 used by Smatch needs this to find va_list (needed for
winternl.h included later).
---
 server/completion.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/completion.c b/server/completion.c
index f024b44..1282bb4 100644
--- a/server/completion.c
+++ b/server/completion.c
@@ -29,6 +29,7 @@
 #include "config.h"
 #include "wine/port.h"
 
+#include <stdarg.h>
 #include <stdio.h>
 
 #include "ntstatus.h"
-- 
1.5.3.2


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Hauptstätter Strasse 58, 70178 Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
                 Werner Knoblich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070926/876d2a28/attachment.pgp 


More information about the wine-patches mailing list