diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b12afab8..dfa365d04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/src/utils/fluidsynth_priv.h b/src/utils/fluidsynth_priv.h index fbcbc6f46..67e97abbd 100644 --- a/src/utils/fluidsynth_priv.h +++ b/src/utils/fluidsynth_priv.h @@ -45,6 +45,9 @@ #include #endif +#if HAVE_STRINGS_H +#include +#endif #include "fluidsynth.h"