More compiler warning fixes These were in SUSE distris for quite some time and got forwardported from 1.8.10 to 1.8.11. Index: lib/ipmi_sdradd.c =================================================================== --- lib/ipmi_sdradd.c.orig 2015-01-14 15:38:00.728760259 +0100 +++ lib/ipmi_sdradd.c 2015-01-14 15:38:11.500760430 +0100 @@ -38,6 +38,7 @@ #include #include #include +#include #include #include Index: lib/ipmi_hpmfwupg.c =================================================================== --- lib/ipmi_hpmfwupg.c.orig 2015-01-14 15:38:00.728760259 +0100 +++ lib/ipmi_hpmfwupg.c 2015-01-14 15:38:11.504760430 +0100 @@ -40,6 +40,8 @@ #include "../src/plugins/lan/md5.h" #include #include +#include +#include #include #if HAVE_CONFIG_H Index: configure.ac =================================================================== --- configure.ac.orig 2015-01-14 15:38:00.728760259 +0100 +++ configure.ac 2015-01-14 16:29:03.744808956 +0100 @@ -25,6 +25,7 @@ AC_C_CONST AC_C_INLINE AC_C_BIGENDIAN +AC_GNU_SOURCE AC_FUNC_SELECT_ARGTYPES AC_FUNC_STRTOD @@ -32,7 +33,7 @@ AC_CHECK_FUNCS([memmove memset strchr strdup strerror]) AC_CHECK_FUNCS([getpassphrase]) -CFLAGS="$CFLAGS -Wall -Wextra -std=c99 -pedantic -Wformat -Wformat-nonliteral" +CFLAGS="$CFLAGS -fno-strict-aliasing -Wreturn-type -std=c99" AM_PROG_LIBTOOL LIBTOOL="$LIBTOOL --silent"