Commit 677fdf53 authored by Geoff Simmons's avatar Geoff Simmons

stricter C99 compliance

parent cdeddaa2
...@@ -14,6 +14,7 @@ AM_INIT_AUTOMAKE([foreign]) ...@@ -14,6 +14,7 @@ AM_INIT_AUTOMAKE([foreign])
AC_GNU_SOURCE AC_GNU_SOURCE
AC_PROG_CC AC_PROG_CC
AC_PROG_CC_STDC AC_PROG_CC_STDC
AC_PROG_CC_C99
if test "x$ac_cv_prog_cc_c99" = xno; then if test "x$ac_cv_prog_cc_c99" = xno; then
AC_MSG_ERROR([Could not find a C99 compatible compiler]) AC_MSG_ERROR([Could not find a C99 compatible compiler])
fi fi
......
AM_CPPFLAGS = @VMOD_INCLUDES@ -Wall -Werror AM_CPPFLAGS = @VMOD_INCLUDES@ -Wall -Werror -std=c99
vmoddir = @VMOD_DIR@ vmoddir = @VMOD_DIR@
vmod_LTLIBRARIES = libvmod_blobcode.la vmod_LTLIBRARIES = libvmod_blobcode.la
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/types.h>
#include "parse_encoding.h" #include "parse_encoding.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment