Skip to content

Commit

Permalink
Fix implicit declaration of strcasecmp
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Apr 10, 2023
1 parent bd2c1fd commit 0b40da5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ include ( CheckIncludeFile )
include ( CheckSymbolExists )
include ( CheckTypeSize )
check_include_file ( string.h HAVE_STRING_H )
check_include_file ( strings.h HAVE_STRINGS_H )
check_include_file ( stdlib.h HAVE_STDLIB_H )
check_include_file ( stdio.h HAVE_STDIO_H )
check_include_file ( math.h HAVE_MATH_H )
Expand Down
3 changes: 3 additions & 0 deletions src/utils/fluidsynth_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
#include <string.h>
#endif

#if HAVE_STRINGS_H
#include <strings.h>
#endif

#include "fluidsynth.h"

Expand Down

0 comments on commit 0b40da5

Please sign in to comment.