From 291012d2a991d3409b5c736add1f55cb8922253d Mon Sep 17 00:00:00 2001
From: twinaphex <libretro@gmail.com>
Date: Wed, 8 Jan 2020 19:47:23 +0100
Subject: [PATCH] (libretro-common) Updates

---
 libretro-common/glsym/glgen.py        | 2 --
 libretro-common/glsym/rglgen.py       | 2 --
 libretro-common/glsym/xglgen.py       | 2 --
 libretro-common/include/compat/msvc.h | 2 ++
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libretro-common/glsym/glgen.py b/libretro-common/glsym/glgen.py
index 3fe2cf5276..8d82357fca 100755
--- a/libretro-common/glsym/glgen.py
+++ b/libretro-common/glsym/glgen.py
@@ -2,9 +2,7 @@
 
 """
    License statement applies to this file (glgen.py) only.
-"""
 
-"""
    Permission is hereby granted, free of charge,
    to any person obtaining a copy of this software and associated documentation files (the "Software"),
    to deal in the Software without restriction, including without limitation the rights to
diff --git a/libretro-common/glsym/rglgen.py b/libretro-common/glsym/rglgen.py
index c1255ad8c8..ee43be2c88 100755
--- a/libretro-common/glsym/rglgen.py
+++ b/libretro-common/glsym/rglgen.py
@@ -2,9 +2,7 @@
 
 """
    License statement applies to this file (glgen.py) only.
-"""
 
-"""
    Permission is hereby granted, free of charge,
    to any person obtaining a copy of this software and associated documentation files (the "Software"),
    to deal in the Software without restriction, including without limitation the rights to
diff --git a/libretro-common/glsym/xglgen.py b/libretro-common/glsym/xglgen.py
index 92b428baf2..215ffff3bc 100644
--- a/libretro-common/glsym/xglgen.py
+++ b/libretro-common/glsym/xglgen.py
@@ -2,9 +2,7 @@
 
 """
    License statement applies to this file (xglgen.py) only.
-"""
 
-"""
    Permission is hereby granted, free of charge,
    to any person obtaining a copy of this software and associated documentation files (the "Software"),
    to deal in the Software without restriction, including without limitation the rights to
diff --git a/libretro-common/include/compat/msvc.h b/libretro-common/include/compat/msvc.h
index 4681b12cf2..1c242630e3 100644
--- a/libretro-common/include/compat/msvc.h
+++ b/libretro-common/include/compat/msvc.h
@@ -31,6 +31,7 @@ extern "C"  {
 
 /* Pre-MSVC 2015 compilers don't implement snprintf in a cross-platform manner. */
 #if _MSC_VER < 1900
+   #include <stdio.h>
    #include <stdlib.h>
    #ifndef snprintf
       #define snprintf c99_snprintf_retro__
@@ -41,6 +42,7 @@ extern "C"  {
 
 /* Pre-MSVC 2008 compilers don't implement vsnprintf in a cross-platform manner? Not sure about this one. */
 #if _MSC_VER < 1500
+   #include <stdio.h>
    #include <stdarg.h>
    #include <stdlib.h>
    #ifndef vsnprintf