From: Wouter Wijngaards Date: Mon, 26 Jan 2015 08:46:40 +0000 (+0000) Subject: - Fix unintended use of gcc extension for incomplete enum types, X-Git-Tag: release-1.5.2rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15d16580a825fb160302c41f646f0d808989c776;p=thirdparty%2Funbound.git - Fix unintended use of gcc extension for incomplete enum types, compile with pedantic c99 compliance (from Daniel Dickman). git-svn-id: file:///svn/unbound/trunk@3321 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 17e97c62c..85bb8d43e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +26 January 2015: Wouter + - Fix unintended use of gcc extension for incomplete enum types, + compile with pedantic c99 compliance (from Daniel Dickman). + 23 January 2015: Wouter - windows port fixes, no AF_LOCAL, no chown, no chmod(grp). diff --git a/validator/val_secalgo.c b/validator/val_secalgo.c index d89675f83..3437c8da6 100644 --- a/validator/val_secalgo.c +++ b/validator/val_secalgo.c @@ -41,8 +41,9 @@ * and do the library calls (for the crypto library in use). */ #include "config.h" -#include "validator/val_secalgo.h" +/* packed_rrset on top to define enum types (forced by c99 standard) */ #include "util/data/packed_rrset.h" +#include "validator/val_secalgo.h" #include "util/log.h" #include "ldns/rrdef.h" #include "ldns/keyraw.h"