]> O.S.I.I.S - jp/vkvg.git/commitdiff
Added stdarg.h inclusion (#82)
authorMarco Rubin <20150305+Rubo3@users.noreply.github.com>
Fri, 18 Feb 2022 19:56:40 +0000 (19:56 +0000)
committerGitHub <noreply@github.com>
Fri, 18 Feb 2022 19:56:40 +0000 (20:56 +0100)
include stdarg.h in vkvg_internal.h

src/recording/vkvg_record_internal.c
src/vkvg_internal.h

index 6f03fdb941ed8f5c5b2de81094212dcdb30787fa..a3e31cbb89b0fd7b2929a62426614a061ea826e6 100644 (file)
@@ -1,4 +1,4 @@
-/*
+/*
  * 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
@@ -19,6 +19,7 @@
  * 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"
index 8d79d5e278676e4a4442f54b649ebcfb0041a124..1af29c1ce1be94fe48fde22d7a29db44b7b005b9 100644 (file)
  //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>