From 78426895db6961d57f3f278efafe4ec3793d793d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 5 Apr 2016 18:42:16 +0200 Subject: [PATCH] (libretro-common) std=c99 compatibility for rsemaphore.c --- libretro-common/rthreads/rsemaphore.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro-common/rthreads/rsemaphore.c b/libretro-common/rthreads/rsemaphore.c index 2a9411ee9c..f3d67f4ef3 100644 --- a/libretro-common/rthreads/rsemaphore.c +++ b/libretro-common/rthreads/rsemaphore.c @@ -20,6 +20,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef __unix__ +#define _POSIX_C_SOURCE 199309 +#endif + #include #include