include stdarg.h in vkvg_internal.h
-/*
+/*
* Copyright (c) 2018-2022 Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+
#include "vkvg.h"
#include "vkvg_record_internal.h"
#include "vkvg_context_internal.h"
//disable warning on iostream functions on windows
#define _CRT_SECURE_NO_WARNINGS
-#include <stdio.h>
#include <assert.h>
-#include <string.h>
-#include <stdint.h>
-#include <stdbool.h>
#include <float.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <stdio.h> // needed before stdarg.h on Windows
+#include <stdarg.h>
+#include <string.h>
#define _USE_MATH_DEFINES
#include <math.h>