Explorar o código

stdinc: strcasecmp is declared in strings.h

Anonymous Maarten hai 1 ano
pai
achega
3374e57102
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      include/SDL3/SDL_stdinc.h

+ 2 - 1
include/SDL3/SDL_stdinc.h

@@ -2963,8 +2963,9 @@ size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t size);
 
 
 /* Starting LLVM 16, the analyser errors out if these functions do not have
 /* Starting LLVM 16, the analyser errors out if these functions do not have
    their prototype defined (clang-diagnostic-implicit-function-declaration) */
    their prototype defined (clang-diagnostic-implicit-function-declaration) */
-#include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <strings.h>
 
 
 #define SDL_malloc malloc
 #define SDL_malloc malloc
 #define SDL_calloc calloc
 #define SDL_calloc calloc