Dmitry Timoshkov : mpg123: Fix compilation with clang.

Alexandre Julliard julliard at winehq.org
Mon Oct 25 16:30:05 CDT 2021


Module: wine
Branch: master
Commit: 981306c1f01112719850439a74e13693dfa6d3a4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=981306c1f01112719850439a74e13693dfa6d3a4

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Fri Oct 22 23:46:02 2021 +0300

mpg123: Fix compilation with clang.

clang -c -o libs/mpg123/src/compat/compat.cross.o ../wine.src/libs/mpg123/src/compat/compat.c -Ilibs/mpg123 \
  -I../wine.src/libs/mpg123 -Iinclude -I../wine.src/include -I../wine.src/include/msvcrt \
  -I../wine.src/libs/mpg123/src -I../wine.src/libs/mpg123/src/compat \
  -I../wine.src/libs/mpg123/src/libmpg123 -DOPT_GENERIC_DITHER -DREAL_IS_FLOAT -DNO_CATCHSIGNAL \
  -D_UCRT -D__WINE_PE_BUILD -target x86_64-windows -fno-strict-aliasing -Wno-pragma-pack -Wno-format \
  -mcx16 -gdwarf-2 -gstrict-dwarf -g -O2
In file included from ../wine.src/libs/mpg123/src/compat/compat.c:15:
../wine.src/libs/mpg123/src/compat/compat.h:74:10: fatal error: 'strings.h' file not found
         ^~~~~~~~~~~
1 error generated.
make: *** [Makefile:216382: libs/mpg123/src/compat/compat.cross.o] Error 1

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Martin Storsjö <martin at martin.st>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/mpg123/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/mpg123/config.h b/libs/mpg123/config.h
index 77986b2a513..c0ad79f0ebf 100644
--- a/libs/mpg123/config.h
+++ b/libs/mpg123/config.h
@@ -219,7 +219,7 @@
 #define HAVE_STRERROR 1
 
 /* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
+/* #undef HAVE_STRINGS_H 1 */
 
 /* Define to 1 if you have the <string.h> header file. */
 #define HAVE_STRING_H 1




More information about the wine-cvs mailing list