hidapi/windows: allow building on Windows, using the SDL C runtime

Signed-off-by: Sam Lantinga <slouken@libsdl.org>
This commit is contained in:
Sam Lantinga
2023-05-25 20:28:31 -07:00
parent 57b33aec01
commit b0ba509d87
2 changed files with 6 additions and 0 deletions

View File

@@ -57,9 +57,11 @@ typedef LONG NTSTATUS;
#include "hidapi_hidclass.h"
#include "hidapi_hidsdi.h"
#ifndef HIDAPI_USING_SDL_RUNTIME
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#endif
#ifdef MIN
#undef MIN