winecfg: Fix compilation on older gcc versions.

Michael Stefaniuc mstefani at redhat.de
Sun Oct 19 17:25:49 CDT 2008


f150ddc3ed5ce35fb06f5bd9daf2c40835c94dce broke compilations with gcc
version 3.1.1 used by Smatch.
---
 programs/winecfg/drivedetect.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/programs/winecfg/drivedetect.c b/programs/winecfg/drivedetect.c
index 8b9911a..9a2b451 100644
--- a/programs/winecfg/drivedetect.c
+++ b/programs/winecfg/drivedetect.c
@@ -22,6 +22,7 @@
 #include "config.h"
 #include "wine/port.h"
 
+#include <stdarg.h>
 #include <stdio.h>
 #ifdef HAVE_MNTENT_H
 #include <mntent.h>
-- 
1.6.0.2
-------------- 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/20081020/7eebb523/attachment.pgp 


More information about the wine-patches mailing list