Skip to content

Commit badbb02

Browse files
committed
Fix coverity
1 parent 6822de3 commit badbb02

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ include tests/Makefile.mk
3434
include tools/Makefile.mk
3535

3636
check_PROGRAMS = $(TESTS)
37-

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ AC_LANG_PUSH([C++])
1111

1212
# Checks for programs.
1313
AC_PROG_CXX
14+
AC_PROG_CC
1415

1516
# Checks for libraries.
1617

@@ -20,6 +21,9 @@ AC_PROG_LIBTOOL
2021
# Check we have -std=c++11 support
2122
AX_CXX_COMPILE_STDCXX_11(noext,mandatory)
2223

24+
# Switch the C compiler into C99 mode
25+
AC_PROG_CC_C99
26+
2327
# Checks for header files.
2428
AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h])
2529

0 commit comments

Comments
 (0)