Преглед изворни кода

stdinc: strcasecmp is declared in strings.h

Anonymous Maarten пре 1 година
родитељ
комит
3374e57102
1 измењених фајлова са 2 додато и 1 уклоњено
  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
    their prototype defined (clang-diagnostic-implicit-function-declaration) */
-#include <stdlib.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <strings.h>
 
 #define SDL_malloc malloc
 #define SDL_calloc calloc