stdio.h needs to be included for sprintf()

Felix Janda felix.janda at posteo.de
Tue Jun 3 15:33:27 CDT 2014


---
 dlls/dnsapi/query.c           | 1 +
 dlls/iphlpapi/iphlpapi_main.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dlls/dnsapi/query.c b/dlls/dnsapi/query.c
index b1d80dd..578239e 100644
--- a/dlls/dnsapi/query.c
+++ b/dlls/dnsapi/query.c
@@ -24,6 +24,7 @@
 
 #include <stdarg.h>
 #include <string.h>
+#include <stdio.h>
 #include <sys/types.h>
 
 #ifdef HAVE_NETINET_IN_H
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index e145386..8c55048 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -22,6 +22,7 @@
 
 #include <stdarg.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include <sys/types.h>
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
-- 
1.8.5.5



More information about the wine-patches mailing list