services/tests: Add #include <stdarg.h> to service.c.
Gerald Pfeifer
gerald at pfeifer.com
Fri Feb 10 14:57:18 CST 2017
After commit 2c24272804b57137fa051f1196e3b86904bc12cb
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Feb 9 15:13:09 2017 +0100
services/tests: Test creating windows inside non-interactive service.
builds on FreeBSD 10.x are failing with
../../../include/windef.h:102:24: error: unknown type name 'va_list';
did you mean '__va_list'?
# define __ms_va_list va_list
^
Looking around a little, it appears other files using <windef.h> do
include <stdarg.h> before, and indeed this fixes the build for me.
Gerald
Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
---
programs/services/tests/service.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/programs/services/tests/service.c b/programs/services/tests/service.c
index 0e9bcd7486..98419497a5 100644
--- a/programs/services/tests/service.c
+++ b/programs/services/tests/service.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include <stdarg.h>
+
#include <windef.h>
#include <winsvc.h>
#include <stdio.h>
--
2.11.0
More information about the wine-patches
mailing list